|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic .NETmicrosoft.public.dotnet.languages.vb
Samuel -
12 May 2007 11:44 PM - 4 messages
Can anyone advice how to set the background colour of a new Bitmap Thank you, Samuel ...
Ron -
12 May 2007 10:42 PM - 2 messages
I need to write a little vb.net app that looks at XML files and manipulates text in them. Here is what I need to do and I have NO idea how to do something like this. here is an example file: also can be found at: [link] ...
johncrawshawlives -
12 May 2007 7:54 PM - 3 messages
Can anyone out there write me a small program...I would be prepared to pay for it. I need a program that can generate random questions from a text file. I have done the text file, I would need someone to do the rest. There ...
Rob -
12 May 2007 4:53 PM - 9 messages
Is it possible for a control to raise an event to remove itself ? Specifically... I have a FlowLayoutPanel that contains several instances of the same user control. Within each "user" control, I would like to place a buton that can remove ...
Javad -
12 May 2007 10:53 AM - 4 messages
Hello I know that I should get the information of windows internet connections by using "rasapi32.dll" library, and I also have some sample codes, but I can't make them work. My exact need is to get the "UserName" of a connection. How ...
John -
12 May 2007 4:29 AM - 3 messages
Hi If I use ConfigurationSettings.AppSettings.Set("KeyName", "KeyValue"), where does the KeyName/KeyValue combination ends up? In a file? In windows registry? Thanks Regards ...
Thammarat charoenchai. -
12 May 2007 4:22 AM - 4 messages
Hi, I'm wonder VB have som function to get First day of the week? like I'm have dim d1 as datetime=12/5/2007 d2 = firstweekday(d1) '=7/5/2007 thank you very much ...
squishy -
12 May 2007 4:16 AM - 3 messages
So what new suprises are in store for us with Orcas? I am downloading the VPC now to try it out myself. But, I will go out on a very sturdy limb here and say that MS will try and get developers to code to ...
Chuck -
12 May 2007 1:33 AM - 2 messages
Express is freefrom MS-VB 2003 cost me-what is big difference between them? ...
John -
12 May 2007 1:29 AM - 7 messages
Hi When using 'ConfigurationSettings.AppSettings.Get' I get the below warning. What is the problem and how can I fix it? Thanks Regards = Warning Message ============================ Warning 9 'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete: 'This ...
Arne Beruldsen -
12 May 2007 1:24 AM - 3 messages
In the Setup process...I have an app where I would rather Net 2.0 be installed directly from my disk versus downloading from the internet. How do I make this happen? Thanks. ...
Chuck -
12 May 2007 1:14 AM - 2 messages
I just want to program in VB-I have VB 2003 - Do I need another version-VB is almost impossible to find nowadays with the Web+CLT. Is there an important difference between VS and VB 2003? ...
John -
12 May 2007 1:11 AM - 3 messages
Hi Is there a way to for a set-up project to copy a specific file during installation only if destination does not already have this file? Thanks Regards ...
Rob -
12 May 2007 12:46 AM - 8 messages
lets assume I want to remove a control from a form that was dynamically created... If the button was added at design time, I can do the following... me.Controls.Remove(Button4) How may I pass a variable in the parameter position ? i.e., ...
grawsha2000 -
11 May 2007 9:13 PM - 3 messages
Greetings, I am developing this N-tier business app. The problem I'm facing is when I try to pass business objects (employees, dept..etc) from business tier to data tier,i.e., the add method in the data tier ...
Jack -
11 May 2007 7:50 PM - 4 messages
Hello, I need to split: 2 1066 1.30 172.90 1065.9 -14.2 3.0 -13.3 0.1 3 1528 1.00 188.10 1527.8 -23.3 3.0 -20.9 0.1 4 2007 0.60 182.60 2006.7 -30.0 2.3 -25.9 0.1 ...
Rob -
11 May 2007 6:32 PM - 3 messages
I have created a user control that has several buttons on it..... The code below appears to add an instance of this user control to the Flow Layout Panel just fine... Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As ...
Lou -
11 May 2007 6:23 PM - 3 messages
Can these .NET controls be added to a C++ application? ...
Ratnesh Raval -
11 May 2007 5:27 PM - 5 messages
Hi all, I am trying to create an application, which will create a virtual drive on the system. When user logs in to the application, that virtual drive would show contents of a remote server. Also I want to trap all events inside that virtual drive. Like if user ...
Martin -
11 May 2007 4:31 PM - 3 messages
Hi All! I'm developing an app in VB2005 for Windows Mobile 5.0 (compact framework). I'm a beginner in VB.Net after years of programming in VB6 and its predecessors. Now I ran into a problem, which I can't solve. ...
Lou -
11 May 2007 3:23 PM - 6 messages
How do I create a .NET ActiveX component that has a form to be hosted in a non DotNet environment. Basically in VB6 I would have simply created an ActiveX ocx. -Lou ...
pmclinn -
11 May 2007 3:11 PM - 2 messages
I have some webbrowser code using the .net 2.0 control on a form. I want to remove the form and run the proceedure from a module but I cannot seem to get the code to work. Code in form that works: ...
billsahiker -
11 May 2007 2:54 PM - 5 messages
Why is my application crashing on a windows 98 machine? It runs fine on the development machine with xp pro. I installed framework 2, with dotnetfx.exe, and windows installer 2 on the windows 98 machine. I read here that dotnetfx does not have all of the framework. could that ...
LostInMD -
11 May 2007 2:13 PM - 3 messages
Hi All :) I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView. True DBGrid has a MultipleLines property that controls whether individual records span multiple lines. Is there an equivalent property for the DataGridView? I have searched, but have not found one. ...
Mike J -
11 May 2007 2:07 PM - 4 messages
i need a example of disposing() and or explicily kicking off the garbage collector thanks MJ ...
Smokey Grindle -
11 May 2007 1:45 PM - 3 messages
Why cant we seralize a Uri? it implements ISerializable but it doesnt have a parameterless constructor for some reason... any workarounds? thanks! ...
John -
11 May 2007 1:39 PM - 3 messages
Hello, I have create a Client - Server application. When execute client1: all it works When i execute "client2" while "client1" is running and using the database, i receive this error: <<There is already an open DataReader associated with this Command >> ...
Rob -
11 May 2007 12:59 PM - 8 messages
In code, I "appear" to see contradictions... Dim aButton as New Button() as well as Dim aButton as New Button Why are the ( ) present in one case, but not the other ? ...
michele -
11 May 2007 8:08 AM - 2 messages
Hi, I want to make a setup for my application so I want to know if there is a guide to set it. My IDE is Visual Studio 2003 Thanks in advice ...
Phoenix -
11 May 2007 4:31 AM - 4 messages
Hi Tom, Rowe & Other .NET Masters, Thanks a lot for the help so far. I am here with one more problem . As suggested by you now I am able to use ExtarctIcon & DrawIcon API s for my purpose but the real problem ...
thomas -
11 May 2007 4:13 AM - 2 messages
How design a windows-based application that allow to be patched or updated? eg. the business-logic or sql statement need to be changed Can we just send some small update/patch to user to update ? Any architecture/design available except using web-based ASP.NET? ...
Jeff -
11 May 2007 1:14 AM - 2 messages
Göran A mentioned efficient use of resources in another thread. I'm still new and know enough to make the code below work, but not enough to do it well. There has to be a better way. ...
Ashigalmaaly -
11 May 2007 12:33 AM - 5 messages
Excuse me!! Would you stop for a moment?! O...man...Haven't you thought-one day- about yourself ? Who has made it? Have you seen a design which hasn't a designer ?! Have you seen a wonderful,delicate work without a worker ?! ...
frankiespark -
11 May 2007 12:24 AM - 18 messages
Hello all, I was perusing the internet for information on threading when I came across this group. Since there seems to be a lot of good ideas and useful info I thought I'd pose a question. Threading is a new concept for me to implement. Here is my problem. ...
M Harris -
10 May 2007 7:00 PM - 2 messages
I have a production database that is password protected. Through my application, I want to provide the users with a COPY of this database, including RI, without a password or at least a different password than the production database has. Is this possible? If so, how? I am using an ...
Rob -
10 May 2007 5:50 PM - 4 messages
Hi, I've written a small VB application that parses an HTML document and removes code I don't need and re-writes the file. I'm looking for the regex pattern that will remove the following code: <head> ...
simchajoy2000@yahoo.com -
10 May 2007 5:32 PM - 5 messages
Hi, I need to calculate a range of colors given the beginning and ending colors in hex values (i.e. blue to red). I know there is a logic to hex numbers and there is probably a fairly simple way to increment ...
Kyote -
10 May 2007 5:11 PM - 3 messages
On a tab page on my form I have about 24 data bound text boxes. I would like to avoid having to check each individual text box's modified property to determine if 1 or more has been changed. Is there ...
dansuthar -
10 May 2007 4:35 PM - 2 messages
Hi everyone there, I want some help in sending mails using .net 2.0 form vb.net. i use the following code to send SMTP Mails: Code:Dim client As New Net.Mail.SmtpClient("smtp.gmail.com") Dim mm As New Net.Mail.MailMessage(***@MyDomain.Com", ...
mastermagrath -
10 May 2007 4:03 PM - 3 messages
Hi all, I recently finished a small project using perl and tk/tcl which caused me several headaches. I have now decided to have a go at VB .net and thought a good place to start would be recreating the perl ...
Phoenix -
10 May 2007 3:11 PM - 3 messages
Hi Masters :-) Could anyone of you please translate the following into Visual Basic 2005 Code ? I am new to this and tried every trick but failed to translate. Any help would be highly appreciated. I can't use Graphics.DrawIcon as I don't have a ...
Phoenix -
10 May 2007 3:10 PM - 4 messages
Hi Masters :-) Could anyone of you please translate the following into Visual Basic 2005 Code ? I am new to this and tried every trick but failed to translate. Any help would be highly appreciated. I can't use Graphics.DrawIcon as I don't have a ...
Looch -
10 May 2007 2:57 PM - 2 messages
If I create a dataset in a Form_Load sub, how can I use that dataset in another sub (i.e Next_Click, which would move to the next record in the dataset displaying the data on my form somewhat like an Access ...
Computer Guru -
10 May 2007 1:28 PM - 6 messages
I have a form I'm using as a dialog box. It has default text that is two paragraphs. It has a function setText(byval text as string) that specifies the text in the read-only textbox that's on it. ...
Dane -
10 May 2007 12:42 PM - 2 messages
Does anyone know how to add Users to Groups using Visual Studio.net 2005? I am also trying to add them to the correct OU and finally I would like to change the directory to where there terminal services profiles are saved. THis is what I have thus far. Thanks! ...
Andrew Morton -
10 May 2007 9:20 AM - 21 messages
Is it possible to have two function declarations which take the same parameters but return different types depending on how the function is used? function f(x) as string ' return a string end function function f(x) as string() ...
tim -
10 May 2007 6:55 AM - 5 messages
Hi all, I need some help to add some text into an existing PDF document. I search with Google but the only thing that I see is some basic things like merge, split and print documents. I know how to do that. ...
Jeff -
10 May 2007 5:33 AM - 6 messages
Could someone tell me the easiest way to check a string of variable length to see if it consists of all blank characters? ....or perhaps more generally, to see if all of the characters are the same. Thanks Jeff ...
dpazza -
10 May 2007 5:21 AM - 3 messages
Hi, I'm creating a quiz on using a form in VB 2005 express. I have four sets of questions and answers (labels and radio buttons) and I change between which set of questions is currently shown on the form by changing the visible state of the radio buttons and labels ...
Randy -
10 May 2007 4:20 AM - 5 messages
Hi, I'm trying to capture the name of the current control (which is a text box) in the validating procedure as well as the text in the control, which I intend to pass to another subroutine for coding efficiency. ...
Localbar -
10 May 2007 1:55 AM - 7 messages
Hi all, I have a vb2003 application system. And I made a shortcut for this system in the desktop. I would like to add a parameter in this shortcut. For example: in the shortcut TARGET is "C:\Program Files\xyz\abc.exe" -admin ...
Colin Halliday -
10 May 2007 1:48 AM - 3 messages
I am experiencing something weird using Visual Studio 2005/ Visual Basic.net 2005. When I code any string manipulation members, instead of returning an integer I receive a hex value. Example Dim strName as string strName = "Hello World" In the Immediate Window: ...
William Cruz -
10 May 2007 12:42 AM - 2 messages
Problem: I created a simple application and when I compile it and run it on my local drive it runs just fine. But if I copy it to a network drive, and I try to run it I get an error.Code 0xe0434f4d. Can anyone explain this? ...
Justin -
9 May 2007 7:41 PM - 7 messages
Hello: Does anyone know how I can create a multi-column listbox in VB.Net (Windows)...I am using VS.Net 2003. If there is another control available that can be databound with multiple columns, I would be interested in looking into that as well. ...
tghamm -
9 May 2007 6:53 PM - 3 messages
Ok, so this is driving me mad. For some reason, regardless of the value of ev.hasmorepages, the printoducment1_printpage gets called twice for every page. So, I print 2 pages of data on one page, with the second overlaying the original data. If i set ev.hasmorepages to ...
Tony -
9 May 2007 6:26 PM - 10 messages
Can anybody tell why IsNumeric("5-") is true? ...
k.knudsen -
9 May 2007 5:16 PM - 4 messages
I am going through a dataset with dates and I would like to compare date fields. Example on next line. If CoreEmployeeBirthDate <> Me.DSeePersonal.eePersonal(0).BirthDate Then I hit a date that is null and I get the following exception: ...
franzdawg3 -
9 May 2007 4:56 PM - 3 messages
I have recently re-written a reference library that I'm guessing was previously written in either VB6 or C into VB.NET. My goal in doing this was to be able to just switch my references in my VB6 app from ...
Michel Vanderbeke -
9 May 2007 4:22 PM - 4 messages
Hello, I would like to create a textbox with extra properties where I can choose if the textbox may contain only numbers, only letters, both, punctuation marks etc. Can anyone help me with tips how I can realise this? Many thanks, ...
Mike Hofer -
9 May 2007 3:23 PM - 4 messages
I've got 20+ years experience, and lots of it over the last few years in .NET. I do not yet have a certification of any kind, and it's about time I did something about that. My focus is primarily Web development ...
-mani -
9 May 2007 3:21 PM - 11 messages
Hi I had an VS 2005 web application project with vb as language. I need to add some 4-5 user control files which are done in c# inside this web application project. Is it possible to have both vb and c# language files in an web application ...
AMercer -
9 May 2007 3:21 PM - 2 messages
I have a vb.net program that needs to display a few fragments of its source code, typically one to five lines for each fragment, and each line contains one assignment statement. I need to do this in a few places (about 10) in a ...
Todd Sparks -
9 May 2007 2:53 PM - 2 messages
Is there an 'easy' way to track a user's idle in VB.Net 2005? Thanks. ...
Jason Reynolds -
9 May 2007 2:08 PM - 5 messages
(using .net 2.0) Say you have a class structure like this: class Address .... end class class Person FirstName LastName MailingAddress as Address BillingAddress as Address end class I'm using reflection to pull out the values at runtime, but I'm having ...
Terry Olsen -
9 May 2007 1:38 PM - 3 messages
Has anyone used Sockets to talk to an AS/400? I don't need to display anything, I just need to scrape data. From QWS3270, after connecting, I type 'logoff' to get in through a back door. With my VB app, I'm able to connect and receive the logon screen, but ...
Rachana -
9 May 2007 1:35 PM - 2 messages
Hi, I am working in VB-2003-1.1.net. Need Enhanced Text box control which takes care of most of the validations. Req. it specially for dates, format & validation. Can anybody suggest me free download sites? Thanks, Regards, ...
VB Jonnie -
9 May 2007 12:34 PM - 6 messages
How can I send the Enter or Return keystroke to a VB.Net 2005 console application? ...
Johnny Jörgensen -
9 May 2007 7:14 AM - 2 messages
I need to rotate (transform) a two dimensional matrix (or more precisely an array of objects - Dim MyArray(X,X) as object ) 45 degrees counterclockwise. I used to be a wizz at math, but I haven't done this in more than twenty ...
ndtang -
9 May 2007 6:33 AM - 4 messages
Hi, I am trying to convert a legacy rs232 application to vb2005. The legacy app was written in pascal and runs in full DOS. I have successfully rewrote the app to communicate with the device using SerialPort component in .NET 2.0. It works wonderful with a desktop ...
discountonall@gmail.com -
9 May 2007 3:35 AM - 3 messages
Hi all i would like to know if anyone knows about a code sample. Lets say for example [link] ...
Paul -
8 May 2007 9:34 PM - 2 messages
I have a web form with a FormView that will display data based on an entry in the TextBox. I want to add a second FormView to work with a second TextBox. However, when I add the second TextBox, my entry in ...
tghamm -
8 May 2007 9:18 PM - 2 messages
Hey everyone, I'm trying to output a text file to a printer, and for some reason, it prints over itself, something that should be 15 pages can be from 4-8 pages, and it changes each time I try it. Something ...
Cath -
8 May 2007 9:00 PM - 3 messages
Hi! I'd like to link a Visio diagram with a Visual Basic application. Is it possible ? ...
Ron -
8 May 2007 7:24 PM - 5 messages
I have this code on one of my forms, the code takes whatever is in textboxes and adds it to a MS Access Database. It then shows a message that the operation was completed. Is there a universal command or code to send an email to the email ...
Rob -
8 May 2007 7:01 PM - 3 messages
In form design vb2005 - I know it is going to be something realy silly, but all I want to do is draw a line on a form... but the Toolbar is greyed out. How may I activate it ? ...
rzaleski -
8 May 2007 6:47 PM - 4 messages
Are there any good blogs out there that give daily (or weekly) tutorials on visual basic.net (or visual studio)? ...
yoni -
8 May 2007 6:19 PM - 3 messages
Hi, I am trying to write a regexp to find all the code on the header of entities in SQL Server (views, SPs, etc...) I got something like this: (.|\n)*((create view)|(create proc)|(create function)|(create trigger)) does that means sense? I want all the code that's before the code ...
Ron -
8 May 2007 5:21 PM - 4 messages
I have two forms. When I click on new entry I hide current form and show form2 as soon as I click on a textbox in form2 I get a loaderlock error. What is this? How can I get rid of this? ...
NetworkElf -
8 May 2007 5:03 PM - 9 messages
I've been trying to run a simple query to get the amount of memory on my machine using WMI. However, I seem to be running into a snag. When I hit the mem = queryObj("MaxCapacity") line, I get an error of "A first chance ...
Ron -
8 May 2007 4:47 PM - 5 messages
I am having a bit of problem with this code: Dim cmd As New OleDb.OleDbCommand("INSERT INTO help (Name, Email, telephone, description)VALUES('" & txtName.Text & "','" & txtEmail.Text & "','" & txtTelephone.Text & "','" & txtDescription.Text & "')", New OleDb.OleDbConnection(strconn)) ...
dfrench -
8 May 2007 3:54 PM - 4 messages
I'm trying to call an InitS function in a C dll from VB.NET. The InitS function requires pointers to 2 callback functions (I think). I'm getting error when calling the function: Attempted to read or write protected memory. This is often an indication that other memory ...
Rich -
8 May 2007 3:35 PM - 3 messages
Hello, When clicking on the top left corner of a datagridview - then entire contents of the datagridview is selected. When clicking on that cell - what event gets triggered/fired? I tried RowHeaderCell, ColumnHeaderCell, but none of these events fired when I click on the top left corner cell of the ...
Ron -
8 May 2007 3:22 PM - 9 messages
I am wondering if anyone knows of any help desk apps projects in vb.net that are out there to take a look at. thanks ...
5070707 -
8 May 2007 9:43 AM - 3 messages
Hi all this question might be more SQL oriented or at least database structure... i created a table in my SQL which contains 2 columns: 1. state 2. country the way i input the data is: State Country ...
Rachana -
8 May 2007 3:59 AM - 2 messages
Hi, I am having vb2003-net 1.1 Code was working fine yesterday, today getting error ----------------------------------------------------------- error: An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error. ----------------------------------------------------------- Last line is highlighted. error while calling method for second data ...
Nicholas M. Makin -
7 May 2007 11:00 PM - 32 messages
Well I have gone and done it. I started a fight with C/C++ programmers over whether VB was a good language. They seem to think it is a toy. Now I read SOMEWHERE that VB was either the most successful language of one of the most ...
Paul -
7 May 2007 10:04 PM - 4 messages
I have two properties in a user control of mine. One is FormatValue which the user can select Currency, Number, etc. The second is NumberOfDecimalPlaces. When the user chooses Currency, I want to disable the NumberOfDecimalPlaces property so that it cannot be ...
Paul -
7 May 2007 10:03 PM - 6 messages
VB.NET - VS 2005 Is it possible to create an Enum with numeric members. Example: Public Enum NumberOfDecimalPlaces Auto 1 2 3 4 5 ...
Mark Cooney -
7 May 2007 8:55 PM - 3 messages
Hi Why doesnt this work? <% CatID = dsMain.SelectParameters("fkCatID").ToString%> or <% CatID = Eval("fkCatID") %> Anyone have a solution? MC ...
5070707 -
7 May 2007 7:08 PM - 3 messages
Hi all, I have a check box and a text box. incase of the checkbox is checked i want the text box to be disabled. i wrote as followed: If cbxNewPc.Checked = True Then tbxOldSerial.Enabled = False ...
NetworkElf -
7 May 2007 6:45 PM - 6 messages
It looks as if I'm going to be using WMI quite a bit in the near fututre. I'm wondering what reference and reading materials people here have found useful. All suggestions appreciated. thanks, ne. ...
rmorvay -
7 May 2007 6:30 PM - 3 messages
I need to know if there is a way to determine the amount of RAM that a person has on their workstation from a web application. We are using BrowserHawk to mine HTTP information but I also need to know amount of RAM. ...
Al G -
7 May 2007 5:52 PM - 3 messages
Hi, (VS2005, SP1, VB windows form) I have a VB application that reads large files. While it is running, a record counter is being updated and shown in a text box. If I switch to ...
Quentin -
7 May 2007 5:34 PM - 2 messages
I want to take a comma delimited text file and export it to excel format, using the comma as the delimiter. Any help on this would be great, thank you. ...
myregid -
7 May 2007 4:02 PM - 2 messages
I am developing an application which used DigitalPersona gold SDK 2.4 under VB.net 2003. ---------------------------------------------------------- api in C++ ¡¾FT_startMonitoringDevice¡¿ FT_RETCODE FT_startMonitoringDevice( IN FT_HANDLE ftContext, /* device context */ ...
Brad -
7 May 2007 3:11 PM - 7 messages
VS,VB 2005 I have a treeview which i load data into in the forms load event Adding Nodes and Children to the parent nodes works fine to add a parent: Me.tvGroups.Nodes.Add(GroupDataRow(0)("MenuGroupID").ToString, GroupDataRow(0)("GroupLabel")) ...
creamy -
7 May 2007 2:57 PM - 2 messages
Hello, everyone. I'm kinda new to VB.NET and i haven't used an MDI container before. I create a form and want to call it on load of the MDI container. i do this: dim childObj as new CreatedForm() ...
yhlove -
7 May 2007 2:29 PM - 6 messages
Hi I'm trying to change element in xml file as described below: the xml file: ---------------- <MyProg> <Path>test1</Path> </MyProg> I want to change the element Path to test2 instead of test1 ...
Rob -
7 May 2007 2:21 PM - 4 messages
How might you program a form to behave as follows ? At the top of a form would be a combo boxes with Order numbers and related data... As the user selected orders from this box, the orders would get added to ...
Michel Vanderbeke -
7 May 2007 2:19 PM - 2 messages
Hello, Each time I want to display a report through VB.NET code, I get a form inviting me to give a connection_id and a password. It contains also a checkbox where I can choose for Integrated Security. When I choose Integrated Security, I can display the report. ...
|
|||||||||||||||||||||||