microsoft.public.dotnet.languages.vb Archive - June 2002
Post a message to this list
Messages
Page: 12345678910111213
IDE problem (4 replies)
microsoft.public.dotnet.languages.vb
I am working with ADO.NET on a form. I have placed a SQL Connection, Data Adapter, and a Dataset on a form. I have connected the Dataset to a Data Grid. This is a very straight forward design as I am currently learning the language. I can start the application and the software runs fine. Then when I stop the program, the IDE begins throwing out errors as it re draws itself. After acknowledging man...
XSD? (2 replies)
microsoft.public.dotnet.languages.vb
I'm new to ADO.Net. I created my first dataform by running wizard. I was given XSD file and form displaying data from this file. Later I created a dataform without using XSD. I built manually Connection, Adapter, Dataset and assigned fields from DataTable to controls. Both approaches work fine. I'm not familiar with XML, I just can work with it as a monkey. Now I need to create many other dataform...
RegistryKey (2 replies)
microsoft.public.dotnet.languages.vb
Hi, Can someone tell me how I can find the type of the RegistryKey.GetValue DWORD, String or Binary? Thanks
System.Security.Permissions.FileIOPermission (3 replies)
microsoft.public.dotnet.languages.vb
Hello everybody, i m new in programming with Basic .NET. Can you help me? I've got a problem writing a XML File to a local File. The message i got is, in german: snipp Status der fehlgeschlagenen Berechtigung: IPermission class "System.Security.Permissions.FileIOPermission, mscorlib, Version 1.0.3300.0, Culture neutral, PublicKeyToken b77a5c561934e089" version "1" Write "c:\temp\text.xml"/ Das Pro...
Frameset in vbnet (2 replies)
microsoft.public.dotnet.languages.vb
How do you use the frameset in vbnet to make a site with two frames: navigation bar and the content. Thk In spanish: Quisiera saber como utilizar el frameset en vbnet programando en visual basic. Mi idea es hacer un sitio con dos frames:uno que tenga la barra de navegación y otro donde vaya mostrando las pÔginas
Convert code (2 replies)
microsoft.public.dotnet.languages.vb
Would very much like to have this snippet translated to VB. offset and array are parametrs int x 0; int l offset 4; for(int i offset; i l; i ) { x (x 7) | array[i]; } /thanx a million Hans
Flashy form moving.... Help! (2 replies)
microsoft.public.dotnet.languages.vb
This has been a re occuring problem I've been having. For some reason when I set a form to an MDI child, and then set it to center to parent, it doesn't, so I manually center it: BEFORE I show it (make it visible), problem is, right when I show it (frm.show()) it opens in a default location, then moves, causing a very quick flash of the form in one location... Is there a way to move a form while i...
Get and Set (2 replies)
microsoft.public.dotnet.languages.vb
Once again, I've been scribbling in VB.NET, testing the Get Set. After trying some easy examples, I started some code like this: Public Class One Inherits System.Web.UI.Page Protected WithEvents TextBox1 As System.Web.UI.WebControls.TextBox Protected WithEvents TextBox2 As System.Web.UI.WebControls.TextBox Protected WithEvents lblLabel As System.Web.UI.WebControls.Label Protected WithEvents Button...
Query Unload (4 replies)
microsoft.public.dotnet.languages.vb
hi .. what is the equevilant to QueryUnload in VB.Net ... or what should i do to know the reason of the form closing ,,, Regards
Add a control to a groupbox (programmatically) (2 replies)
microsoft.public.dotnet.languages.vb
How can I add a button to a form? Currently I use: frmParent.Controls.Add(btn) But it seems that the control has to be added to the group with something like this: form.group.controls.addRange(new system.windows.forms.control() {frmParent.btn}) But how can I implement a variable group into this code and when no group is specified it has to be added to the from itself.. Greetings, Sven.
context menu (2 replies)
microsoft.public.dotnet.languages.vb
how can i display a context menu when i click the right mouse button regards
How to create as custom wizard in Vb.net (2 replies)
microsoft.public.dotnet.languages.vb
Could you tell me How to create as custom wizard in Vb.net something like c custom wizard?
Check if the form is open ? (2 replies)
microsoft.public.dotnet.languages.vb
hi all when the user click a button in form1 it shows form2 .. how can i check if form2 is already open or now when he clicks that button again regards
PropertyBag and Text Property (4 replies)
microsoft.public.dotnet.languages.vb
I'm writing my first Control in VB.Net. I cannot find any information about VB6 PropertyBag equivalent in VB.Net. That's fine. Somehow my control remembers all settings without that object. I just was wondering, how it works now. I have a problem with creating a property. I'd like to have a public property Text for my control. I do not see it in Property window by default. I tried to create it mys...
What window message(2) to capture? (2 replies)
microsoft.public.dotnet.languages.vb
I am trying to keep a window from being hidden or minimized (ie when a user clicks on the "Show Desktop" button). I am capturing the messages (as shown below) but it is not working.. Is there a better place to look? Steve Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message) Select Case m.Msg Case 992, 273 'These are not the right ones...... Me.Activate() Me.Show() Case Else MyB...
How to recieve parameters with VB.NET console app (6 replies)
microsoft.public.dotnet.languages.vb
HI, I'm building a VB.NET console application that need to recieve parameters when launch from the command promt. Ex. C\ app.exe /[email] /[path]. How can I capture those parameters? Any help would be welcome! Thank you!
comparing ADO parameter direction problem (2 replies)
microsoft.public.dotnet.languages.vb
I hope this fall into the "I've been looking at this too long" category but I can;t seem to get this to work in VB.Net. In VB6 this code works, "If objParameter.Direction ADODB.ParameterDirectionEnum.adParamOutput Then" where the objParameter.Direction is "adParamInput" it fell through correctly, but in VB.Net is seems to think that "adParamInput" is equal to all other directions (it never fails)....
pop-up a message on the local Windows Messenger in VB.Net (2 replies)
microsoft.public.dotnet.languages.vb
I am writing a VB.net application. How do I pop up a message on the local Windows Messenger (or MSN messenger) ? Thanks for your time ya94@hotmail.com
Creating Color Constants ? (2 replies)
microsoft.public.dotnet.languages.vb
Hi i've just moved over to .net and its excellent! Please can someone solve a problem im having trying to set color constants, so i can get on with writing my program :) In a module i have the following: This line works fine. Public Const LIST BACK As System.Drawing.KnownColor KnownColor.White I also need to use colors that are not int the knowncolor enum. So i thought of doing what it suggested i...
GetKeyState Problem In WIN 98 (2 replies)
microsoft.public.dotnet.languages.vb
This works in XP but not in WIN 98 or NT 4.0 /sp6a. WHY? I have installed the Dotnetfx.exe pack and applied sp1. Some of these subs are called based on user interaction from a systray menu. Module Module2 Public kbArray(255) As Byte Public Declare Function GetKeyboardState Lib "user32" (ByRef kbArray As Array) As Long Public Declare Function SetKeyboardState Lib "user32" (ByRef kbArray As Array) A...
How to reference DataGrid individual fields values (4 replies)
microsoft.public.dotnet.languages.vb
What is the syntax to get DataGrid individual fields values
How to intercept / stop the show desktop button effect on my program? (9 replies)
microsoft.public.dotnet.languages.vb
I have a couple of forms that I do not want minimized / hidden when a user clicks on the show desktop button. How can I do this? Does the form get minimized or hidden? (I have tried both and neither seems to work).. Thanks, Steve
Question about File IO and .Net (2 replies)
microsoft.public.dotnet.languages.vb
Hello ! I have to change a value everywhere in a textfile. For that I have written a solution using String1 StreamReader.ReadToEnd() and then using string2 string1.Replace(value1, value2) but I know it isn't a good solution. I have to close the StreamReader, Create a StreamWriter and close it again... Have u got suggestions about reading/replacing a value in a text file quickly ? Regards ! GG
How can I open one form from another? (3 replies)
microsoft.public.dotnet.languages.vb
As practice in VB.Net, I made a form with a button that would open another form. When I coded the operation, I found out that I couldn't use a simple 'Form.Show' to make the second form appear. My brother told me that I had to declare the new form first. It worked, sort of, but it kept creating new copies of the second form every time the button was clicked. I'm looking for something simple that b...
Better way to get total/used/freespace of a disk? (3 replies)
microsoft.public.dotnet.languages.vb
Im currently using this function to retrieve the "HardDisk" information of the system, note here that i have added an if statement that check if the current disk is 3 (hard disk), since i don't want to display cdrom/floppy disk information the function works pretty fine, but each time its triggered it "seek" the floppy disk, since it try to retrieve info from it i wonder if there is any way to ret...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com