Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008


all groups > vb.net > october 2004 > threads for tuesday october 12

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

VB.NET book suggestions?
Posted by joe NO[at]SPAM doprocess-dot-com.no-spam.invalid at 10/12/2004 11:58:47 PM
I need help to learn this language (vb.net), but I am a rookie when it comes to vb.net. There is no reason for me to spend too much time to research which book would be the best choice to buy, because I don't know that much about it anyways. So could someone give me some good suggestions on whi...more >>

Using threads also inVB.NET
Posted by Mamatha at 10/12/2004 11:49:48 PM
Hi I have one application in VB.NET,when we click on particular button it will connect to the web and retrieving a particular webpage.Whan connect to the net and getting source code of webpage...application hangs i can't click any button at that time,i used threads also threads also for...more >>

Dynamic Objects Events
Posted by Mothi Kannan at 10/12/2004 11:05:56 PM
Hi, In vb.net I have created two combo box, dynamically and filled list in the first combo. How can I fill the Selected index value of first combo in to the second combo The second combo sholud be filled only when the first combo list item is selected Thanks Mothi Kannan ...more >>

Reading XML
Posted by Jessard at 10/12/2004 9:57:04 PM
Hi all, I have an XML file that I wish to load and use with VB.NET. It is in the structure: <?xml version="1.0" encoding="UTF-16"?> <sql xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"> <insert>INSERT INTO ClientCarriers VALUES ('AC',5)</insert> <insert>INSERT INTO ClientCarriers...more >>

Reading XML with VB.NET
Posted by Jessard at 10/12/2004 9:57:03 PM
Hi all, I have an XML file that I wish to load and use with VB.NET. It is in the structure: <?xml version="1.0" encoding="UTF-16"?> <sql xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"> <insert>INSERT INTO ClientCarriers VALUES ('AC',5)</insert> <insert>INSERT INTO ClientCarriers...more >>

Using a C++ DLL from VB, and Passing Pointers?
Posted by jwalway NO[at]SPAM hotmail.com at 10/12/2004 8:50:34 PM
Hello, I'm using a DLL I wrote in C++, and am attempting to call and use it from VB. This works fine for functions where I pass parameters by value, but I can't get pointers to work. I get the following error in the VB.net application: "An unhandled exception of Type 'System.Runtime....more >>

Shared Procedures Query
Posted by gemel at 10/12/2004 7:54:15 PM
I have been reading sime material in .NET that throws some doubt on my understanding of shared procedures. With regard to object programming I assumed that variables declared within a class were private to the class, each object would have access to it's ver own copy of that variable. With reg...more >>

How to get enumeration type
Posted by Don at 10/12/2004 7:52:19 PM
I need to get the type of an enumeration from an instance of a class. e.g. Public Class MyClass Public Enum MyEnum value1 = 1 End Enum End Class .... Dim obj as New MyClass Dim enumType as Type enumType = the type of obj.MyEnum Is there any way to do this? ...more >>



melina_haas@hotmail.com
Posted by Herfried K. Wagner [MVP] at 10/12/2004 7:31:35 PM
Hallo Melina! Auch wenn du jetzt noch herumfliegst <g>, hier mal die Neuigkeiten: Heute war *InfoVis*-Vorbesprechung: Ziemlich viele Leute dort. Ich habe dich und mich angemeldet, Christian hat sich und Matthias angemeldet. Wie's aussieht, gibt es Zweiergruppen mit drei Aufgaben, wovon die...more >>

HTML page/site in vb application
Posted by Carl Gilbert at 10/12/2004 6:53:51 PM
* Apologies if this has been posted twice, the last one said it had been removed from the server (Outlook Express) Hi I have a series of web pages and wish to allow the user to view the pages from a CD. Is there a .net control that will allow me to host a web page within a basic window? ...more >>

Microsoft.VisualBasic.Strings.StrConv
Posted by YAN at 10/12/2004 6:53:02 PM
Hello, I can successfully return a traditional String by following code when user's OS is XP, but it return empty string when user's OS is 98, how can i slove it?? iString = Microsoft.VisualBasic.Strings.StrConv(iString, VbStrConv.TraditionalChinese, 2052) YAN...more >>

HTML Page in VB Application
Posted by Carl Gilbert at 10/12/2004 6:49:37 PM
Hi I have a series of web pages and wish to allow the user to view the pages from a CD. Is there a .net control that will allow me to host a web page within a basic window? The window will be of a fixed size and I will not require any other controls such as navigation buttons found in IE. ...more >>

Cannot find keycodev2.dll
Posted by Kalyan at 10/12/2004 6:43:02 PM
hi I developed and created setup wizards in xp professional version of windwos. I am able to install application in windows 2000 professonal version. When i try to run application i am getting keycodev2.dll cannot find or invalid key. I am using crystal report in my application. Can an...more >>

Custom Controls
Posted by msdn at 10/12/2004 6:27:58 PM
How can I set the backcolor =transparent in a custom control, just raise error, but every control like label or windows.form permit that Regards, Harold ...more >>

The Variant is back!!
Posted by Jon Davis at 10/12/2004 5:30:09 PM
Hi guys! Just wanted to let you all know that I created a Variant structure, = inspired by the old VB6 days. This is written in C#, but you can build a = CLR/.NET class library assembly and reference it to your liking. ' Here is an example of use: ' start with a string of "1" Dim da As V...more >>

Custom Attributes
Posted by Dan at 10/12/2004 4:42:31 PM
Hi, I am messing around with custom attributes and may have understood the concept a bit wrong:- I have a simple class that has a few public properties that individually have custom attributes. For example, each property has a custom attribute class with one property defined, that of IsC...more >>

Get current Directory
Posted by Matthew at 10/12/2004 4:26:34 PM
I am wanting to find the directory my program is installed in and use this in my code. Is there a fast, easy way to do this? Matthew ...more >>

Another N-Tier Question
Posted by WStoreyII at 10/12/2004 4:01:04 PM
I have been reading up on the N-Tier application Design Model. I understand the concept of and the purpose of breaking up the application in to seperate modules (or tiers) for reusabillity and ect. What i dont understand though is what exactly needs to be on a data access tier. For ...more >>

Doubles and Singles
Posted by Peter at 10/12/2004 4:01:01 PM
Why do the following results occur? Immediate window: ?7.2 <= 6*1.2 False ?7.2 <= convert.ToSingle(6*1.2) False ?7.2 <= convert.ToDouble(6*1.2) False ?7.2 <= 7.2 True What coding practise should be used to handle this situation correctly?...more >>

deploying debug builds
Posted by Bob at 10/12/2004 4:00:51 PM
I Debug build my (WinForms) assemblies and then deploy them (simple copy to client) without the .pdb files. This works fine, but I like to know: - Without the .pdb files, will the .dll's act essentially the same as Release? - Are there any significant performance gains to compiling Release ins...more >>

Newbie: Removing keypress sound
Posted by Adriano at 10/12/2004 3:51:09 PM
hello, In my VB.NET app when i press "enter", windows default sound plays, i can remove it from my windows sound settings, but i don't want it to be in such a way, can anyone help me to remove that sound programatically???? tnx in advance, Adriano ...more >>

StringBuilder.AppendFormat() to underline text
Posted by John A Grandy at 10/12/2004 3:45:42 PM
when using StringBuilder to build-up a block of text (which is then assigned to a Label control) is it possible to underline a portion of the text ? it would seem that StringBuilder.AppendFormat() would provide this capability, but I can't find documentation on the proper format specifier to u...more >>

Cbool problem
Posted by Joe Fallon at 10/12/2004 3:03:52 PM
I built up a string in code and now I wish to evaluate it using Cbool but I get a runtime error. This is my expression: ?CBool("11=10 OrElse 11=11") Run-time exception thrown : System.InvalidCastException - Cast from string "11=10 OrElse 11=11" to type 'Boolean' is not valid. If I remove t...more >>

vb.net startup/form load
Posted by Brian Fulford at 10/12/2004 2:53:02 PM
This is my first shot at a Winforms application in dot net. This application is mainly going to run unattended but is using a form to display current activity of the background processing. In VB6, I could set the startup to be Sub Main and then call frmMain.Show and the program would continue pr...more >>

.Net Remoting N Tier Application
Posted by A_PK at 10/12/2004 2:50:40 PM
Anyone could provide more infomartion about .Net Remoting. I have been to msdn.microsoft.com there to look for some references, but I just have no idea how it work....Could someone able to give me some simple idea or perhaps, any nice website to recommend ? Simple sample would be great.... ...more >>

Pointer to a function in VB.NET?
Posted by Mark at 10/12/2004 2:03:10 PM
I have an API I'm trying to declare that is defined with a parameter: int(CALLBACK EXPORT *pFunc)(void) The description says that's a pointer to a function. How would I declare this parameter and how can I call it? Thanks...more >>

How to add temp folder to application directory on install?
Posted by lanem at 10/12/2004 1:55:05 PM
I want to add a Temp folder to my application folder in Program Files/whatever when I install my windows app on a client machine. I've got everything else working with the install, but now I want to add an empty Temp folder in the app directory for me to use in the program. Please give me ...more >>

VB.NET: Writing attribute and Elements to Xml
Posted by http://www.visual-basic-data-mining.net/forum at 10/12/2004 1:47:59 PM
Say i have this Xml file <Books> <Book type="1"> <Author>Peter</Author> <Section>1</Section> </Book> </Books> how to create another automatic set of IDs and datas for the Xml tag so that when i type in another set of data... The content of the Xml file will become: <Books> ...more >>

FolderBrowserDialog has VANISHED!
Posted by John Krueger at 10/12/2004 1:29:06 PM
The FolderBrowserDialog control in my toolbox has vanished! I did not delibratly remove it and it is just not there anymore. I tried to add it back to the toolbox but there isn't even a .NET component (or even a COM) available to select from in the "Customize Toolbox" window! I noticed ...more >>

How to get static IP adresses from DHCP?
Posted by Leszek Gruszka at 10/12/2004 1:28:51 PM
How to get static IP adresses from DHCP? I haven't seen it anywhere... :( ...more >>

Static records WINS database
Posted by Leszek Gruszka at 10/12/2004 1:27:22 PM
How to get static records from WINS database? ...more >>

DateTimePicker which shown date AND time
Posted by Marco Singer at 10/12/2004 1:25:11 PM
Hi all, is there any free (perhaps with source code in any .NET language) to use Date/Time Picker Control for VB.NET which can show date and time in the same control and the same time? The DateTimePicker coming with VS.NET only shows either date or time. Thanks Marco ...more >>

IF statement
Posted by simon at 10/12/2004 1:13:55 PM
I have IF statement: If Hour(advEndDate) >Hour(advStartDate) Then state=3D0 else state=3D1 End If Anyway, if hour of end date is greater than the hour of start date, I = have state=3D0. If statement is always true. If I write in command window: H...more >>

Advice needed for file archiving utility..
Posted by guht NO[at]SPAM hotmail.com at 10/12/2004 1:02:58 PM
I work in the environmental industry and we have large gcms instruments that aquire raw data to an attached computer. These computers are networked, and have shared folders so the data can be accessed from the network. I would like to create a fairly simple utility that copies data from the c...more >>

Change ODBC Link Provider String in Access DB using ADOX in VB.NET
Posted by tim_frawley NO[at]SPAM fishgame.state.ak.us at 10/12/2004 1:01:19 PM
I am attempting to change the ODBC Link Provider String in an Access database linked to an Oracle server using ADOX in VB.NET. I created some code using the example from post: http://groups.google.com/groups?q=RefreshLinkedTablesWithADOX()&hl=en&lr=&selm=qb1ctvcdoftenojhpp34lb6fjb9ss8qd9c%404ax...more >>

How to determine which child rows selected in heirarchcal datagrid
Posted by Engineerik at 10/12/2004 12:37:03 PM
I have a datagrid which displays rows from a parent datatable. I use a datarelation so the user can expand the child rows. How can I tell programatically when the user has expanded the child rows for a given parent row? How can I tell which if any child rows are selected? I am using dataviews a...more >>

Just File Name
Posted by Altman at 10/12/2004 12:29:58 PM
OK I could write a little method to do this but I was wondering if it already existed. I've searched but cannot find it. I have a file string, example "C:\my documents\mydoc.doc" I want to call a function that will return just the file name "mydoc.doc" ...more >>

Tabcontrol
Posted by Michael Turner at 10/12/2004 11:47:51 AM
Hi Guys Having problem with the tab control, I need to set the background color to something different than the standard, I have found code on the web and now can redraw the tabpage buttons so the are set to the right color, I can obviously change the tabpage colour but I am left with a grey t...more >>

System.Management
Posted by Frank Ashley at 10/12/2004 11:30:52 AM
The code below returns all files on the local machine. I want to scan a different machine and have tried to use the ManagmentPath class but I can't see where I would fit it into the current code. Can anybody help? Dim mySelect As New SelectQuery("select * from cim_datafile") Dim myResults As ...more >>

more elegant way than this
Posted by Edward W. at 10/12/2004 11:14:29 AM
hello, I have this function below which is simple and easy to understand private function ListHeight (byval UserScreenHeight as int) as int if UserScreenHeight < 1024 return 30 else return 50 end if end function It is very functional but seems pretty lame to me, like I could do b...more >>

Intercepting Ctrl+Tab in TabControl
Posted by Oenone at 10/12/2004 10:46:47 AM
I'm using a TabControl to facilitate a wizard-style form, using some of the techniques described here: http://www.codeproject.com/cs/miscctrl/WizardTab.asp For the most part I have this working very nicely, and using the information in the comments below the article I've managed to completel...more >>

Using Sitting.ini file ....
Posted by Husam at 10/12/2004 10:31:08 AM
Hi EveryBody: Do i need to write sitting.ini file when I use the visual studio 2003 Bootstrapper plug-in to add the Net Framework to my setup project? if yes How can I write the sitting.ini file ? any help will be appreciated Husam...more >>

Newbie: access controls from different forms
Posted by steve at 10/12/2004 10:13:32 AM
Hi, this is probably a very stupid question. I have a radio button in form1 and i want to access it in form2. I changed the modifier of the radio button to Public. In form2 i entered: form1.radio1 and it gives me an "unknown idintifier" error. what am i doing wrong/forgetting ? TIA ...more >>

Filestream or FileGet?
Posted by vvenk at 10/12/2004 10:13:08 AM
Hello: I am trying to read the contents of a file that be either be binary or text. I would like to know which is better, Filestream or FileGet? Thanks. Venkat...more >>

System.StackOverflowException
Posted by Chris at 10/12/2004 10:06:35 AM
I get the above exception but the debugger does not tell me anything about it's source or location. The exception seems to be raised just after page (web form) initialisation. How can I possible debug an error like this? Thanks...more >>

problem with navigating axWebBrowser.
Posted by Dibs at 10/12/2004 10:04:45 AM
Hi chaps, I'm trying to use the COM microsoft web browser to show html I'm generating in my app. Using AxWebBrowser1.Navigate("about:" & htmlString) works fine as long as the html is not too long. So this works fine in htmlString <html> <head> <title>A Fine Title</title> </head> <body...more >>

Eval equivalent in vb.net?
Posted by Eric Caron at 10/12/2004 9:54:13 AM
Hi everybody, Is there an operator that would do the same job as the eval operator in javascript? I have a bunch of checkboxes ranging from 1 to 22 and would like to evaluate their values using a for loop. Thanks for any help. Eric ...more >>

Setting colors to Disabled Controls
Posted by DC at 10/12/2004 9:35:27 AM
Hi All, When a control is disabled, it is grayed out. Is there anyway to set a different foreground/background color for disabled controls (combobox, textbox, etc). Thanks. DC ...more >>

Creating a windows scheduled task
Posted by RJN at 10/12/2004 9:12:11 AM
Hi I want to create a scheduled job through code. In VB we would do this using the Win32 API class "Win32_ScheduledJob" Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" _ & strComputer & "\root\cimv2") Set objNewJob = objWMIService.Get("Win32_Sch...more >>

simple chat program
Posted by Leo Muller at 10/12/2004 7:56:42 AM
Does anyone know where I can find an example chat program in VB.NET? Thanks in advance, Leo Muller ...more >>

Control Arrays
Posted by Jay at 10/12/2004 7:12:03 AM
Why is it publisized that VB.NET does not support control arrays? This is not true. It is just that it is implemented in another way. Dim txtNumbers(10) as TextBox Everything must be done manually. Location, visibility, etc... There is no support for converting a VB6 project to VB.NET t...more >>

do i need to install visual studio to fix this?
Posted by Sam at 10/12/2004 7:11:15 AM
we are running windows 2003 server. it has NET framework installed, but doesn't have Visual Studio etc. installed on it. i created a new sulotion/project on my development pc and FTP'd it up to our server with all of the files from my dev. pc. i also created a \bin directory and copied tth...more >>

connect to outlook
Posted by Mike at 10/12/2004 6:49:21 AM
I need to create a front end for the users to enter in some data, but the data needs to go to a folder on the exchange server. How can I add, view, and modify items in outlook (exchange) folders. I would be using outlook as the database....more >>

convert app to vb.net
Posted by Mike at 10/12/2004 5:57:06 AM
I have an outlook application that I'm thinking about converting to VB.NET. Would it be easier to convert the code over or just re-write the application? thanks...more >>

HLP: Problem with Interop.Adodb!
Posted by Mr. B at 10/12/2004 5:47:46 AM
VB.net... working with a MS Access db file. For no good reason, I'm suddenly getting the following message on my application: ---> The dependency 'Interop.ADODB' could not be found. Very little is found on the Internet on a Google search. But sounds like there is something to do with MD...more >>

XML File Question?
Posted by Debbie Carter at 10/12/2004 4:29:32 AM
Can XML files be easily encrypted? ...more >>

Looping Through a Recordset
Posted by mans_bassi NO[at]SPAM hotmail.com at 10/12/2004 4:10:22 AM
I am trying to loop through a recordset and send an email to each Record found. at the moment all records are being sent i.e. email 1 sends 1 record email 2 send 2 records email 3 sends 3 records etc. etc. is there a way to just send 1 record to each email address my code is listed below ...more >>

How can i operate controls in VB.NET
Posted by Mamatha at 10/12/2004 2:22:01 AM
Hi I have one application in VB.NET. When we click on particular button,it connects to the net and getback with the source code of a particular web page.While connecting to net it blocks all other controls,i can't operate any control.How can i stop that one.How can i prevent that one fro...more >>

Updatring VFP database
Posted by Billy Yang at 10/12/2004 2:19:03 AM
Hello, I write a small program to build a web service. I fill a dataset with data from VFP database. After I put a record in the dataset and make the update. When updating the database I get an error described like this: "System.NullReferenceException: Object reference not set to an instanc...more >>

ShowDialog and asynchronous code execution
Posted by Dennis Sjogren at 10/12/2004 2:13:45 AM
Greetings! First, I'm not 100% sure where to post this question. I use VB.NET for this project, but it's really a design question (a question on which method to use when solving this problem). In this medium sized (30 or so forms) application, our users have requested a more visual notifica...more >>

How to display icon in textbox in VB.NET
Posted by Mamatha at 10/12/2004 12:33:04 AM
Hi I want to add an icon to the textbox's text. I don't know how to display icon in textbox in VB.NET. If any one knows please let me know. Thanks in advance. Mamatha...more >>


DevelopmentNow Blog