|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic .NETmicrosoft.public.dotnet.languages.vb
Eric -
5 Aug 2006 7:22 PM - 3 messages
Hi, I'm writing a program that based on input will create a document. It is something simulair as a printing example. In MS Word when you click on the shown document you can zoom in and if you click again you'll zoom out again. ...
Kyote -
5 Aug 2006 6:23 PM - 2 messages
I'm wanting to copy/move files from 1 directory to another in my program. I'm even doing a bit of renaming to help these specific files conform slightly to my preferred naming conventions to help me organize these files a bit easier. ...
Michael Maes -
5 Aug 2006 12:55 PM - 4 messages
Hi, We have a windows service passing objects to a client application by remoting. The windows service is started and running successfully. * When the client app is running on the same machine as the windows service (W2K3) every method gets executed successfully. ...
Omar Abid -
5 Aug 2006 11:17 AM - 2 messages
Hi member, Do you want to migrate from VB6 to VB 2005 Express join my group : [link] And i'll help you Omar Abid ...
fiaolle -
5 Aug 2006 10:42 AM - 2 messages
Hi I have a DataGrid with ComboBoxes and I don't want the user to be forced to click in the ComboBoxes to add a new row in the DataGrid, you have to click on the selected item to add a new row. Is there a way I can make the things ...
JM -
5 Aug 2006 6:33 AM - 5 messages
Hi, I have create several Dll to be used in my programs. Until now each Dll contains only one class (with several functions inside), my question is: Is by any means possible to create a Dll with several classes inside?, if ...
Omar Abid -
5 Aug 2006 6:27 AM - 3 messages
hi, This is the real workgroup of Visual Basic 2005 express goto : [link] thank you ...
Bob -
4 Aug 2006 11:49 PM - 6 messages
I made a code change to a form , then saved it and tried to go to design mode in the form. I get an error message (there seems to be a dataset defintion that can no longer be initialled apparently because I did not ...
Henry Jones -
4 Aug 2006 9:45 PM - 6 messages
I posted in dotnet.general but I think this is a better place to post a VB question. I created a module in VS 2005 - Visual Basic Windows Project. I declared two strings public Public strConn as string Public strSQL as string ...
Sam -
4 Aug 2006 9:28 PM - 2 messages
Hi All, I'm trying to write a simple multi-threaded windows service application using ThreadPool and I'm running into the same problem as described by MS article: [link] . ...
Larry -
4 Aug 2006 9:08 PM - 2 messages
Is it possible to pass the my.application object or the my.computer object to another class, or a class within a DLL? Using VB.NET in VS.2005 Thanks in Advance, Laurence ...
Rich -
4 Aug 2006 8:15 PM - 3 messages
Hello, Is it possible to assign a value to a groupbox by selecting a radiobutton contained in the groupbox? Say you assign a value of 1 to radbtn1, 2 for radbtn2, 3 for radbtn3 all contained in grpBox. You click radbtn1. ...
monitor-radiation -
4 Aug 2006 7:15 PM - 2 messages
I'm trying to get my program to write a blank line if the array segment starts with a 0 or a 1. I have the if statment written down fine (i believe), however the program skips the whole statement every time ...
jcrouse -
4 Aug 2006 6:23 PM - 3 messages
OK, based on someones ssuggestion in an earlier post I have some code that reads a text file into memory. This is the code: Dim FileNum As Integer Dim TotalFile As String Open FileName For Binary As #1 ...
Steve -
4 Aug 2006 5:30 PM - 11 messages
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains custom functions. I believe I need to use COM interop to allow VBA code in Excel 2002 to access it. I've studied everything I can find on COM Interop ...
Chris Thunell -
4 Aug 2006 4:30 PM - 2 messages
I'm using VStudio2005 and working with a VB.Net windows form application. The project is located in the My Documents folder... under a UNC shared path. \\fs1\users\cthunell\My Documents\My Projects (something like this) I'm getting a SecurityException was unhandled.. Request for the Permission ...
Al -
4 Aug 2006 3:45 PM - 4 messages
I have this scenario: 1. XML file with schema and data is created from SQL Server tables. XML file contains 6 tables, some of them have rows, some of them are empty. 2. XML file is given to the person with Pocket PC. ...
dotnetnoob -
4 Aug 2006 3:30 PM - 3 messages
i got a program with a dropdown combobox that will go and grab data off of a xml file that was selected from dropdown after the user chose a file then click select button it add data into an arraylist, i want the user to be able ...
Miro -
4 Aug 2006 2:38 PM - 10 messages
VB 2003 at the end of the code, this works great. bytCommand = Encoding.ASCII.GetBytes("testing hello send text") udpClient.Send(bytCommand, bytCommand.Length) and this recieves it Dim strReturnData As String = _ ...
Mr. Novice -
4 Aug 2006 2:38 PM - 2 messages
A co-worker and I have a VB.Net app that is used to open applications using a different set of credentials. If somebody has Excel opened and then tries to open another spreadsheet using the app that runs under a different set of ...
cj -
4 Aug 2006 2:08 PM - 9 messages
I know how to write code to find, kill and closeMainWindow on all processes but I really don't want to do that. I want work with applications not processes. As you know there are a lot more processes ...
Chris Knievel -
4 Aug 2006 2:01 PM - 4 messages
Hi, i am trying to save some data in a excel spreadsheet, whenever the programm shuts down. Mostly this happens when a user is logging off or shuts the computer down. im am using the Private Sub Form1_Closing(ByVal sender As Object, ByVal e As ...
martin1 -
4 Aug 2006 1:39 PM - 3 messages
Hi, All, I has 2 gridview data like below and try to put data together into gridviewTotal or attach gridview2 to gridview1, these 2 gridview data structure same , just attach one column called Average2 to girdveiew1. Anyone can help out? Thanks a lot in advance! ...
John -
4 Aug 2006 1:09 PM - 5 messages
I want to write a quick app that will remind me not to slouch at the computer with an Outlook "New Mail Desktop Alert" style pop-up every 15 minutes or so. What I'd like advice on is the best method of timing and displaying the ...
karups -
4 Aug 2006 1:06 PM - 3 messages
Hi when i convert Excel file to dataset using the following code, i find that, some col. such as Col1 ------ 404 403 NOT 222 is converted as col1 ----- 404 403 <null> 222 ..I use this code to convert ...
karups -
4 Aug 2006 1:06 PM - 3 messages
Hi when i convert Excel file to dataset using the following code, i find that, some col. such as Col1 ------ 404 403 NOT 222 is converted as col1 ----- 404 403 <null> 222 ..I use this code to convert ...
SStory -
4 Aug 2006 12:48 PM - 7 messages
I need to be able to burn a CD from VB.NET. The OS is XP so I don't care how it does it, but not having to go through the wizard of course--and free. I have searched and found XPBurn, but couldn't see a way to place a volume ...
Maurice -
4 Aug 2006 12:48 PM - 2 messages
Hi all, I have an application, designed in Visual Studio 2005, which will run mainly on Windows XP computers. If I run the application on a Windows XP computer having the Windows XP Theme selected the controls look nice rounded, etc. just like in Windows ...
Jerry -
4 Aug 2006 9:58 AM - 3 messages
Hi, I just found out that when I check a raidobutton TWO things happen. The CheckChange event is fired for unchecking the checked button and another is fired for the new one to become checked. However I don't want the event to ...
michele -
4 Aug 2006 8:56 AM - 3 messages
Hi, I want to load a listbox with the date that are stored in a database (mdb), the problem is when I retrieve the date it has a format like "01/01/2006 0.00.00". In Access the date is stored as short date. ...
Jeff -
4 Aug 2006 4:52 AM - 3 messages
I'm new to vb.net web developer 2005. I assume that this is the correct web site for this question, but please let me know if there is another that is better. I'm having difficulty finding the syntax to open a new/second browser window (from an existing one) and how to subsequently close it ...
ric_deez -
4 Aug 2006 3:36 AM - 6 messages
Hi there, I would like to create a simple search form to allow users to search for a job number based on a number of parameters. I think I understand how to use parameteres associated with Stored Procedures with a data reader to add various parameters. ...
Miro -
4 Aug 2006 2:15 AM - 3 messages
VB 2003. I cant find the last thing im missing. I click the "Run" button to run my app in VB.net and it runs. But when i close the application, the thread does not end ( i think ) because it never ends the debuger ...
eSolTec, Inc. 501(c)(3) -
3 Aug 2006 9:48 PM - 4 messages
Thank you in advance for any and all assistance. Is there a way to create a registry key, but orphan it from the program that created it? Reason: Create a key, but not associate it with the program, so that the ...
Al -
3 Aug 2006 8:51 PM - 7 messages
I'd like to know if there were any changes in the DataSet which was populated by reading XML file. 6 DataTables with data or just structure with no data inside of it. I think about this scenario: I create 2 datasets and populate both from the same XML file. Then the first ...
eSolTec, Inc. 501(c)(3) -
3 Aug 2006 8:45 PM - 4 messages
Thank you in advance for any and all assistance. Is there a way to get information programmatically from the data rendered at a command prompt into say a listview box or listbox or other programming controls? ...
iwdu15 -
3 Aug 2006 8:26 PM - 2 messages
how can i get an event to occur when a user clicks on the Tab part of a tab page...not the page itself. the mouse events only register when the page is clikced, not the tab.... ...
Tom -
3 Aug 2006 7:44 PM - 11 messages
I'd like to create a new VB 2005 app that looks like the VS 2005 IDE - in other words, an app that has multiple forms, but instead of displaying them seperately or in an MDI main from, I'd rather display ...
Pete -
3 Aug 2006 6:49 PM - 3 messages
Hi All, I am using VB.NET and TCP/IP synchronous sockets to connect to listener software on another machine. I was wondering if anyone could help me understand how to automatically detect and re-establish the connection to the workstation the listener software is running on if it goes ...
Jack -
3 Aug 2006 5:55 PM - 3 messages
In vb.net how can I update a control on one (open) form from another form or module. I have a form that calls a sub on a module and want to have the code in the module add an item to a list box on the form. ...
JR -
3 Aug 2006 4:47 PM - 3 messages
Hi, How can I add some graphics to a picturebox, panel or form that already have some graphics on it. Everytime i use the invalidate or refresh function of that control it starts on a blank control and I want to add something ...
Zhiv Kurilka -
3 Aug 2006 4:16 PM - 37 messages
Hi, I have a text file with following content: "((^)|(.* +))§§§§§§§§" if I read it with: k=System.IO.StreamReader( "file.txt",System.Text.Encoding.ASCII); k.readtotheend() Then "§" is lost If read it with UTF7 ...
IdleBrain -
3 Aug 2006 3:59 PM - 2 messages
Hello All: I have a project deployed to a client. The client reports me of a runtime exception occuring some times: Arithmetic Overflow It does not occur on my machine where I have the source code written. I handle this exception by logging the Err.source, Err.Description and ...
RdS -
3 Aug 2006 3:20 PM - 4 messages
Where do I find return codes for MS methods. For instance the filesystemobject methods. I need to know what methods return (error codes, etc. and what they mean). I have searched MSDN and of course find the ...
Lou -
3 Aug 2006 3:15 PM - 4 messages
anybody know if/where there are replacements for the 101 samples distributed with the earlier versions of .NET -Lou ...
Stephen Costanzo -
3 Aug 2006 2:57 PM - 3 messages
I have an application which requires OCXs to be deployed and registered on the workstation. Is it possible to run the application install from an MSI and have One Click then look for updates to the EXEs? I know it cannot pick ...
Seema Multani -
3 Aug 2006 2:50 PM - 2 messages
I have a string "56789916" I want to replace last digit of this string from 6 to 0. i.e "56789910". How can I do that. Thanks in advance ...
RdS -
3 Aug 2006 1:40 PM - 2 messages
Hello, I have been searching for what createfolder can return or does return. Where on MSDN can I find what a MS method returns? I have searched for filesystemobject.createfolder errors, error codes, error, etc. and cannot find what it returns. The syntax document for the method on MSDN doesn't ...
Condeh -
3 Aug 2006 1:27 PM - 6 messages
Hi There Im looking to do something, although im not sure if its possible. Say for instance, the word "Fred" the numerical value of that word is "6+18+5+4 = 33" Is there anything i can do to get a phrase such as "humpty dumpty sat ...
Reny -
3 Aug 2006 9:35 AM - 3 messages
Hi, I am using VB.NEt 2003 Crystalreport viewer to show a report.But i could not able to scroll with the mouse can any on tell me how to do it? or any bug fix? reny ...
Zimba -
3 Aug 2006 8:56 AM - 2 messages
I want to take a new page while running over a resultset. I made a very simple sample, i want to take a new page in "Afdrukken" It's easy to say test on 14000 and don't test in "Afdrukken" but this is ...
wilson -
3 Aug 2006 8:38 AM - 5 messages
Hi. I'm new in VB.NET. I would like to ask a question. How to change ConnectionString for DataSet at runtime? Because I want to change the dBase data file directory according to the program installed directory of user choice. ...
reidarT -
3 Aug 2006 7:57 AM - 2 messages
How can I copact and repair an accesws db from VB? reidarT ...
Jck -
3 Aug 2006 6:29 AM - 3 messages
Could someone tell me how to detect TcpClient connection dropped, please? I have a TcpClient connected to a server by IP and Port. The TcpClient only read data from the server. However, if there is no data received from the ...
Miro -
3 Aug 2006 5:53 AM - 12 messages
I am banging my head around something that I think I just dont understand what I am reading in the helps. Its gotta be so simple but I just cant figure out what im reading. ( vb 2003 ) Lets say i have Form1 and Form2. ...
BarryX -
3 Aug 2006 4:53 AM - 3 messages
Hey, I am trying to write a section of code in VB that gives me the audio level of the output from a sound card. If I am using a Soundblaster this is very easy as I can use the MIXERCONTROL_CONTROLTYPE_PEAKMETER. But not all sound ...
easoftware -
3 Aug 2006 4:10 AM - 3 messages
I would like to be able to use VB 2003 .NET to check if Excel is running, and if it is, then do something with the active workbook. I can see if Excel is running: Private Sub GetAllExcelApps() ...
Jck -
3 Aug 2006 4:10 AM - 2 messages
Could someone let me know how to get the current top row in a datagrid that is viewing by the user please? I got a datagrid connected with a datatable with 5000 records. I can use the CurrentCell to get the focus cell. However, when the user scroll to other ...
Jck -
3 Aug 2006 4:06 AM - 7 messages
Could someone tell me how a thread can send data / post message to another thread in vb.net please? I have a main thread and a socket thread. I need a way to let the main thread know when my socket thread receive data. ...
dm3281 -
3 Aug 2006 1:12 AM - 6 messages
Hi all -- We currently have an ecommerce application installed on a W2K Advanced server running .NET 1.1. In November, I installed .NET 2.0 in order to allow a Windows Forms application I wrote to be run on the server for extracting system ...
Seema Multani -
3 Aug 2006 1:08 AM - 2 messages
I have a string "1152090116" I want to replace last digit of the string from 6 to 0. e.g my resulted string would be "1152090110". How can I do that. Thanks in advance ...
John -
3 Aug 2006 1:01 AM - 5 messages
I am having a problem accessing the members in a structure via an interface and Class. ***Development Code*** Structure Person Public Name as String End Structure Interface IData Public Property Employee As Person End Interface ...
Zhiv Kurilka -
3 Aug 2006 12:12 AM - 2 messages
Hi, I need a drop down combobox, where user can only select values, but not change text. But I see no combobox.Readonly or combobox.Editable property. Please help, ...
Yoshitha -
2 Aug 2006 9:59 PM - 2 messages
Hi I am developing a C#.Net windows application for my project. In that project I have an IDE to work on. The application is similar to Adobe Photoshop. My requirement is as follows. 1) I must be able to save my work in a file with custom file extention ...
Ryan H -
2 Aug 2006 7:42 PM - 4 messages
Hi, My data access layer for my VB.NET 1.1 application resides on a different server and is accessed via Remoting. Is there a way to configure my data access layer so that I can use Transactions? For example, I would like to do the following from the client: ...
André -
2 Aug 2006 4:13 PM - 2 messages
Hi, c# .net 2005 I have a windows Sendkeys program using webBrowser1 VS.net 2005. I have to click a client side message box to say {enter}. How do I set focus back to the windows form for my sendkeys to send it to ...
iwdu15 -
2 Aug 2006 4:09 PM - 4 messages
hi, i have a control that inherits from RichTextBox. What i want to be able to do is surpress the Enter key inserting a newline into the text. For instance, in AIM when you press Enter, it doesnt insert a new line, it sends ...
Zhiv Kurilka -
2 Aug 2006 3:37 PM - 4 messages
Dear all, supposed I have xml file <a> <b> <name>ggg</name> <c>10</c> <name>ddd</name> </b> <b> ...
a -
2 Aug 2006 3:13 PM - 5 messages
I have been cleaning up somebody else's code in Vs2005 .net 2.0 There wer lots of these code pat errors because of unitialized variables in functions with Conditionals - that may or may not be set . These I have ...
Brian Tkatch -
2 Aug 2006 3:06 PM - 10 messages
I'm looking for a simple way to unique an array of strings. I came up with this. Does it make sense? Am i missing anything? (Testing seems to show it to work.) Public Function Unique(ByVal List() As String) As String() ...
ricardo.dapaz -
2 Aug 2006 2:32 PM - 3 messages
Ok, I am just learning ADO.NET with Visual Basic 2005 and have a form with a whole bunch of combo boxes which I would like to populate from four separate queries. I have been using the Wrox Expert One on One ...
eSolTec, Inc. 501(c)(3) -
2 Aug 2006 2:29 PM - 4 messages
Thank you in advance for any and all assistance, it is greatly appreciated. I would like to know if there is a simple way to monitor Registry changes by software being installed, either with or without the users permission? Michael ...
eSolTec, Inc. 501(c)(3) -
2 Aug 2006 2:25 PM - 2 messages
Thank you in advance for any and all assistance, it is GREATLY appreciated. Two questions; 1. Is there a way in VB.NET 2005 to query a motherboard to see if there are certain sensors? i.e. CPU temp sensor, Fan speed sensor, hard drive temp ...
eSolTec, Inc. 501(c)(3) -
2 Aug 2006 2:23 PM - 2 messages
Thank you in advance for any and all assistance. I have a VB.NET 2005 application that reads various WMI, Win32 and Registry Keys. I would like to know if there is an EASY way to read registry, WMI, Win32 across a local LAN ...
Miro -
2 Aug 2006 1:25 PM - 8 messages
Hi, ( using vb.net 2003 ) Im not quite sure what to look for in the help / online for this. Example: You have 2 seperate .exe files running ( both written in vb.net ) Is there a way to make 1 exe "listen" on a port or something ( other than ...
barrysmith1966 -
2 Aug 2006 1:18 PM - 6 messages
Hello, I am using VS2005 and the publish feature. Is there any way I get the version number from within my application? i.e. I have a splash screen and would like to display the latest version number. Ta in advance ...
stewart.fay -
2 Aug 2006 1:08 PM - 2 messages
Dear all, I am using the HttpWebRequest and HttpWebRequest to send an XML request to an ASPX page. When I use the browser and add my XML request the request is posted fine and an answer is retrieved. However, when I use the code below I get an timeout error on the line: ...
dgk -
2 Aug 2006 12:42 PM - 4 messages
I have an app that I've installed on three computers and I'd like to convert it to use ClickOnce in order to get updates. Any advice on what I need to do to make this happen? ...
Selva Chinnasamy -
2 Aug 2006 12:29 PM - 8 messages
I have had problems with Inserting records then I found the KB article which has solution [link] Now I am trying to compact the database, used JRO to compact the database, compacting works fine. ...
darjonase -
2 Aug 2006 12:12 PM - 4 messages
Alright all... I want to add a help section to my application and I am having some trouble. I know you can use the HTML Help Workshop, but this application is dreadful. It is very old school with having to add HTML ...
fiaolle -
2 Aug 2006 11:33 AM - 2 messages
Hi I have a DataGrid with comboboxes and I'm woundering what runs when a user clicks in the DataGrid or ComboBox. When I choose something in the combobox with the KeyUp event nothing happens, but when I click and choose an item in ...
Peter Stojkovic -
2 Aug 2006 11:09 AM - 3 messages
I have old Windows from VS.2003 wit a lot of controls in the forms ( Standard und user-Controls ) I have now converted my Application to VS.2005 When I create now a new form the information is stored in two file: ...
Li Pang -
2 Aug 2006 9:53 AM - 2 messages
Hi, I read a text file line by line, and put the value into a arraylist. But some special characters lost after asignment. Is there any solution to avoid this? Thanks in advance ...
Li Pang -
2 Aug 2006 9:51 AM - 4 messages
Hi, I want to know the easiest way to remove the last line in a text file, or how to catch the last line of a text file. Thanks in advance ...
sethuganesh -
2 Aug 2006 8:12 AM - 2 messages
Hi, i want to know how to create a xml file having nodes with same name.how to identify the node with unique id. will it create a new node with same node name that have already created? ...
steve -
2 Aug 2006 7:58 AM - 4 messages
I need to compare the value of a field in a row on an arraylist with the value of a field on a second arraylist I have this bit of code working for arrays but cant get it working for arraylists ...
sgr -
2 Aug 2006 7:49 AM - 3 messages
Hello I'm making an application that uses an excel worksheet, My problem appears when I open the worksheet to see the data (then I close it and save the changes) and I try to insert a new row from my application appears the error: ...
Danny M -
2 Aug 2006 5:13 AM - 2 messages
Does anyone ave a good exsample on how you bind 2 tables into a datagridview where the second table is the values of a dropdownbox. With delete (whole row not dropdownbox table) and edit ? ...
Peter -
2 Aug 2006 4:59 AM - 21 messages
I have the following Class, but I would like to make one of the columns in my DataGrid editable, how would I do that? When I use this class none of the columns are editable even when I set the ReadOnly property to false? ...
Danny M -
2 Aug 2006 4:29 AM - 2 messages
Is this possible and if yes how? Does anyone has an example? ...
genojoe -
2 Aug 2006 2:56 AM - 3 messages
[link] This site contains sample code that does not compile for me. The line of code is: ' Get the current configuration file. Dim config As _ ...
Goldie -
2 Aug 2006 1:55 AM - 2 messages
Can anyone offer advice on how to do a nested loop with vb I need the loop nested in the main loop to be passed a variable from the parent loop for SQL purposes. eg: parent selects all customer_id's and other information ...
ljlevend2 -
2 Aug 2006 1:32 AM - 7 messages
Is there any way to create a local server during runtime? For example, if you add an existing Web Site to a Solution from within Visual Studio (by right clicking the solution in the Solution Explorer, then selecting Add - ...
Kevin -
2 Aug 2006 12:34 AM - 2 messages
I'm using a "View" in SQL2000 to print records. My query on the View worked fine in VB6. I'm using the same ADODB in my VB2005 app (not ADO.NET) and I'm getting this error. There's 197 records in my query ...
Manekurt -
1 Aug 2006 11:09 PM - 3 messages
Hello, I found this tool from the .Net Framework Tools Package, and I opened one of my .EXE aplications.The disasembler, shows you the code, not in VB, but important information that I tought it wasnt that easy to see. ...
Gary S -
1 Aug 2006 8:00 PM - 2 messages
When I type in the three apostrophes (above a class, method, etc.) and press enter, the IDE generates the following lines. ''' <summary> ''' ''' </summary> ''' <remarks></remarks> ...
simchajoy2000@yahoo.com -
1 Aug 2006 6:05 PM - 5 messages
Hi, I've got a datagrid that has columns containing numbers but when the user clicks on the column header to sort - the sort is not placing numbers in the correct order. For example let's say I have the ...
iwdu15 -
1 Aug 2006 4:51 PM - 2 messages
hi...just a quick question. what are the differences in using a FileStream and StreamWriter opposed to just a StreamWriter.....for instance Dim fs as New FileStream("C:\Test.txt",...) Dim sw As New StreamWriter(fs) sw.WriteLine("Stuff") sw.Flush() ...
Dot Net Daddy -
1 Aug 2006 3:12 PM - 5 messages
Hello, I want to create label and checkbox for every member in the database table. How can I do that? I tried: Dim x as integer For Each x In ds.Tables(0).Rows.Count ...
|
|||||||||||||||||||||||