Answer Questions
Panos889 Looking for Query Builder tutorial
I asked this question in the C# forum since that's the language I prefer but this question really applies to all the .NET languages. I'm looking for a good online tutorial to learn how to use Query Builder. Is this a better forum for posting this question If you find one, please post where you got it, because I'm also looking for one (For VB). I don't believe we have any ...Show All
Avada Kedavra Welcome to the Visual Basic IDE forum!
Cool... I'm new to Vb.net programming and I'm from Sri Lanka. Hope to clear my doubts from you very soon.... Thanks J>mayooresan I'm very happy to see you here. I'm new to VB.net. if I have any probs I'll inform you. Thanks Hi Luis, No, Crystal Reports isn't included - for that you would need the full edition. Does that answer both of your questions :-) Steve Hoag When will the VB Team simply make vs 20 ...Show All
Garon Line Registered File Types
I am trying to expand the registered file types into the verbage that you see on Windows Explorer in the "Type" column in the Details view. For instance, the .xls extension expands to "Microsoft Excel Worksheet" and .txt becomes "Test Document". Also Explorer shows neat little icons next to the file name. Does anyone know how I can get at this information programatically in VB I searched the registry and came up dr ...Show All
j0k3r Error: ResolveComReference task failed, References could not be loaded
Hi, I recently upgraded my program from VB 6 to VB 2005 Beta 2. After the upgrade completed There was 1 Error and a bunch of warnings. The error was basically this: >Error 75 The "ResolveComReference" task failed unexpectedly. >System.ArgumentException: Invalid Primitive Type: ADODB.ExecuteOptionEnum. >Consider using CodeObjectCreateExpression. I also get a bunch of warnings like these two: >Warning 2 The eleme ...Show All
James K IIF Statement Question
I am using the code below to determine the selected index of multiple combo boxes, although for some reason my if statement is not working correctly. If the boolean portion returns false, it still "processes" the true portion creating an error. So for example, If the number of sort keys returns 1 that means is IIF statement should return 0. Although instead a error is thrown, because MyGrid.SortKeys(1).Index does not exist, because the ...Show All
Jeffw Singleton Pattern - Shared/Synclock confusion...
Given the code below, I am trying to implement a "double-checked" constructor for a singleton pattern essentially.... What has me confused is how I should handle my locking. In examples I found it often showed the simple "SyncLock Me" approach to lock a section of code. When I try to use this in VB.NET 2005 (Beta 2) I get an error stating that Me isn't allowed for non-instance members. In this case, using a shared co ...Show All
java1974 Computer take a nap every third time through a for/next loop.
Hi All, I have the wierdest problem I have come across in my 40 some years of troubleshooting code and hardware. The followinf code is simply 3 nested for/next loops. About every third time (sometimes 2, sometimes 4) through the inner, y loop both of my computers take a 15 millisecond nap. An instruction gets performed and then it is 15 milliseconds before the next instruction is performed. Nohing else is going on, t ...Show All
IntlTexasHoldem Equivalent of string$(X,"X") etc?
Just a quick question - I can't find the equivalent in VB.NET of the old Basic string$(n,a$) function, which would return a string of n a$'s, eg string$(5,"A") returns "AAAAA" Thanks v much, Thanks, yes, but I what I wanted to do specifically was to check if a string (of unknown length) was all zeros. In old qb I would have just said If a$ = string$(len(a$) , 0).... It seems a bit ...Show All
Kamen httpwebresponse not support arabic language !!!!
I have to useing httpwebresponse for two pages, One is jsp and other asp. the charset is UTF-8 for both of them, while reading for jsp the arabic character are readed but in asp are not readed it come as spaces In asp page I use that code <%response,charset="UTF-8"%> what is the problem My Oracle database is already setting to UTF-8. Now, I had tried to save the asp file as UTF Encoding, also usi ...Show All
QuanT Find Values in a Row
I've been learning Visual Basic in highschool for the past nine weeks and I've been struggling with this problem for a while. If anyone could help me, I would greatly appreciate it: I'm trying to create a form that searches for a value in a table under a certain column and give feedback of whether the command found the value or not. Does it have to do anything with the Find method If so how do you use it Or is it a Query If anyone could help ...Show All
Dalli3398 Visual Basic and Excel
Hi, I am trying to read from an Excel Sheet using Microsoft.Jet.OLEDB.4.0, and the Connect String is Imports System.Data.OleDb Private m_sConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=File1.xls;" & _ "Extended Properties=""Excel 8.0;HDR=YES""" Later I Read form the file using the following Code: Dim conn As New System.Data.OleDb.OleDbConnection ...Show All
Roger Luo Need to call external DLL that takes structured parameter
Hi, My application needs to call an external unmanaged DLL supplied by a third party. That DLL is written in C I suspect, it takes a struct parameter that holds some 30 fields, most of them of type char[x] where x varies for each field. What I did was a wrapper class, that has a declare statement like this Private Declare Ansi Sub ExternalSub Lib "ExternalDll.dll" (ByRef struct As strParam) The struct is defined like this & ...Show All
vinceb Process question
Is there a way to trap an event relating to trying to start a process when the computer lacks the application. For instance doing a process.start on a MS Project file when the computer lacks the application. Now my application just hangs when that occurs. Thanks, Fred You could use com-interop to check if the application can be instantiated, rather than trying to start it as a seperate process. You can trap any errors in that c ...Show All
brewewa Internet and ADO
Hi all, I had a VB6 program that opens a remote asp page as an ado recordset. The asp page connects to the remote db, gets some records and return them. Should I do the same in .Net or is there a better alternative to retrieve data from a remote db. Note: webservices are not an option Thanks, Ivan Hi Ivan, Did your Database is exposed on the web e.g. We can install SQL server at machine A, but o ...Show All
IlanAvigdor Is there any object can play .wmv file in VB.net 2005?
Is there any object can play .wmv file in VB.net 2005 Yes, the windows media player control. Thank you, Cgraus; Thank you, Spotty. Can this be done in Asp.net Applications too Regards, Pavan You can use the MediaPlayer control in VB 2005 easily. Heres a few steps to using: 1) Add the control to the Toolbox by right clicking the Toolbox, selecting "Choose Items...", picking the COM Components tab, and ...Show All
