Answer Questions
BTC Is there an alternate to the VS2005Getfiles that will return a string array.
In my old code I declared a variable _fileList() as string. Then I used Directory.GetFiles(strDefaultDirectory, "IP*" ) to fill the array. Now the getfiles function us nder the My .namespace " My .Computer.FileSystem.GetFiles" and returns this " System.Collections.ObjectModel.ReadOnlyCollection( Of String )" Previoulsy if the directory.getFiles method returned 0 items I would used the ".Filenames" property of a OpenFileDialog box to return m ...Show All
grnfvr loggin
I created a loggin form and dont know how to do the loggin databases so i figured id code the loggins. but it doesnt work can u help me with this or say how to do the databases If (UsernameTextBox.Text = "Loggin" & PasswordTextBox.Text = "Password" ) Then Dim openform1 As Form1 = New Form1 openform1.ShowDialog() End If End Sub sweet, nvm i figgured it out this time actually, i ...Show All
C.K.McCann Printing in VB or other .nets
i have researched thoroughly the new .net printing paradigm. However, the use of Graphics eliminates the ability to print directly to the printer using Internal Printer Fonts. Eg. i need a way to print using printer font "Stripe 2" such that the printer can print on the magnetic side. In VB6 this was very easy as the printer font's were easy enum'ed. Does anyone know of and could provide a solution/insight into the way to print ...Show All
dave_t_was_taken_already FIleOpen Dialog - fileopendialog.showdialog() - Change default view from List to Details
In my app a user can mouse to File Menu - Open. The fileopendialog.showdialog() has default view of ListView. The user is alway going to have to sort the file list by Date in descending order in order to open the most recent file stored in the network location. How can I make the FileOpenDialog display in Detail View by default and not List View. Thanks, MIke Code Sample dlgOpenFile.InitialDirectory = sDefaultDir dlgOpenFile.F ...Show All
Blue Einstein GPS Software
Hi there I am developing a GPS Tracking software using vb2005. I have done some parts and now i have problems drawing the path that a car has gone on the map. Can anybody show me a refrence about Developing GPS Software. Thanks in advance Thanks , That was usefull. Do you know any other resources to http://www.esri.com/getting_started/developers/index.html ...Show All
ProgAniGod Multi-Project Solution Link
I am new to all this. I have put two projects into a solution. One contains several functions and classes. The other project just creates a window to execute them via a start button. I added a reference in the window project to the project with the classes and functions. However, I am unable to execute from the start button code a class located in the second project. Am I missing some link or something ...Show All
Jeff Bogdan How to stimulate a mouse left click when the x, y co-ordinates are provided
Hello All I am trying to make an application in Visual Basic.NET which stimulates mouse left click. I am using SendMessageA API with message WM_LBUTTONUP PRE.clsCode { font-size:110%; } PRE.clsSyntax { font-size:100%; } TD DIV.clsBeta { display:none;} A:link { color:#0000ff; text-decoration:underline;} A:visited { color:#0000ff; text-decoration:underline;} A:hover { color:#3366ff; text-decoration:underline;} MSHelp\:link { ...Show All
zeffy Freezing Header of the Data Grid.
I want to freez the header of the DataGrid, I have manage to do this with the the CSS styles. but it is working only with the IE, but i want to work with Netscape as well. Hey pls if any body have an idea pls Help me As soon as possible. Your best bet will be with the asp.net forums in that case found at http://forums.asp.net/ Can you explain a little further what you are trying to achieve here. Are we talking datagrid or ...Show All
Giuseppe_al_Lavoro How to use enter key as tab key
In VB6 this is code we use to quickly get thru the form (see below). How can we make this work in VB2005 Express. Private Sub Form_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then KeyAscii = 0 SendKeys "{tab}" End If End Sub Here is an exampl e I posted in the vb.net newsgroup ...Show All
RajeshPKumar Quick find and replace very, very slow
I am currently working with a native VB2005 program that, when I look at the line numbers, is getting close to 10,000 lines. I have a new XPS laptop very fully loaded, and am running XP. When I am working with the app, the IDE seems a little pokey, but that is to be expected - until you try to do a "Quick Find" or "Quick Replace". These take in excess of 30 seconds at times, but usually hover around 10 seconds. Am I doing som ...Show All
MartinPaternoster try catch with a loop
I have a Try...Catch in my code and inside that I have a for loop. Now, if one of the loops error out then the whole for loop is forfeited and the code continues. I want to know if there is a way to continue the for loop after an error. What I am doing is setting decimal values with a loop. The values differ every time. Some of them may be too small for the decimal type. The two values that error out are 149 597 870.691 / 10e+24 149 597 870.691 ...Show All
AjmalAmeen Tabbed Browsing in VB .Net
Hi, I have a question regarding tabbed browsing. I am writing my own custom web browser in vb .net studio 2005. I can create, dynamically at runtime, additonal tabs on a tab control, which will - in each - have a dedicated webbrowser control. So what will happen is 5 search engines will be searched and the results be placed in seperate webbrowsers under 5 dynamically-created tabs. The user can then tab throw each set of results. The pro ...Show All
Linda_gail_williams Just for Fun
I would like to do a visual effect when i'm saving a database. I use a progress bar at the moment which is boring! I rather like the effect when you save in WORD where you get a box outline that shrinks down to nothing. How would i do that Or maybe you will Have some better ideas Mike That's because Dustin is a fast programmer and he's suffering from GDI+ trauma. If Dustin looses one second of user time that's a loss of eighty ...Show All
Joshua Scholar RaiseEvent in VB.Net
Hi * Can someone explain to me how i can handle this linse writen in C# in VB.Net C#: { if ( this .ErrorEvent != null ) this .ErrorEvent( new ArgumentException("blablabla"), null ); } i tried it like this but it is not workin: VB: If Not ( RaiseEvent ErrorEvent Is Nothing ) Then RaiseEvent ErrorEvent( New ArgumentException("blablabla"), Nothing ) En ...Show All
Laird_McSQL SQL Server 2005 Data Acccess
Ok, using VB6, I was able to access individual fields by using the following code, Set db = DBEngine.Workspaces(0).OpenDatabase(LocalDataPath & "Crossdock.mdb") Set rs = db.OpenRecordset("SELECT Password, Update FROM tblUser WHERE user = '" & txtUserName.Text & "'", dbOpenDynaset) If txtPassword.Text = rs![Password] Then I was able to access the individual data field "Password" by ...Show All
