424 byte By
qubits at 2007-11-20 6:39:17
Visual Basic .NET / Visual Studio .NET 2005Im using a third party class that has WebDAV functionality which im using to download files from my server. Sometimes it throws an error and enters a catch block. Is there a way to retry the last executed statement that threw the error? im thinking that som...
580 byte By
SirDino at 2007-11-20 6:39:32
I am very inexperienced in VB coding. I have used VB6 in the past and usually mangled someone elses code to do what I wanted it to do. Now I am up to VB 2005 express and VB.net but the .net is not installed on this box.I am trying to determine if an application is running. I looked on the MSDN on...
hi,<br/>i have created a transparent label. my problem is the text info have become invisible. below is my sample. <br/> Label1.Parent = Me<br/> Label1.BackColor = Color.Transparent<br/> label1.text = "First Name"
158 byte By
kumarana at 2007-11-20 6:40:15
Hi all,<br/>How to communicate with serialport in visual studio 2003 using C#?<br/>I would appreciate your comments.<br/>Thanks in advance,<br/>Kumaran A
Hello all, Let me first introduce myself. My name is Kevin and I've been coding with Visual Studio 2005 for some time, More specifically Visual Basic 2005, just making simple programs for myself and friends like LAN chats, and Messenger monitors, Bill trackers and such. but I've been s...
How can I set the column name, column size, and column visibility for each columns in DataGrid that is connected with a dataset?
How can I input binary and extended string type data in registry?Here is the function I use for writing values into the registry:--------------Public Declare Function RegSetValueEx_STR Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hKey As Integer, ByVal lpValueName As String, ByVal Reserved As In...
VB.net 2005 Framework 2.0<br/>Is there an easy proprty setting to alternate the colors for each row in a datagridview or do I have to write code?<br/>Can someone point me in the right direction? <br/>Thanks
558 byte By
tim8w at 2007-11-20 6:41:12
I would like to be able to allow DragDrop on my application's exe. I have set the form to AllowDragDrop and in the Load event I have the following code: Dim sCommandLineArgs() As String Dim iIndex As Int16 sCommandLineArgs = Environment.GetCommandLineArgs() For iInde...
250 byte By
laxatcg1 at 2007-11-20 6:41:30
I have a Databound DataGridView being displayed in a form and I had enabled 'Adding' so that I also add new record. Now instead of having a button for update, I want the data to be updated as and when user enters the data. How do I proceed?
541 byte By
yulyos at 2007-11-20 6:42:00
Hi,I am using Visual Basic 2005 Express EditionI have to find a string in record of a ListBox; the string is in fixed place on the record.I wrote this code and this code working ok:For n As Integer = 0 To ListBox1.Items.Count - 1 If Trim(Mid(ListBox1.Items(n), 19, 40)).Trim = TextBox3.Text.Trim T...
110 byte By
sihikahi at 2007-11-20 6:42:19
Hi All, i would like to have a custom messagebox, with my own text on buttons, any idea how to achieve this.??
How can I make crystal report with dynamic database location? I don't see any way to implement the CurrentDirectory function for the Crystal Report database.This is a big problem when the application was distributed as the Crystal Report refers to a non-existing file while the database itself i...
778 byte By
laxatcg1 at 2007-11-20 6:42:23
When I start the application, I have a profile form ('profileform') which will be displayed before the main form to collect the user's profile information. So what I did is... if there is no records in the table I display the form or else I display the main form directly. NOW how do I...
Hi,I have a routine that goes through a loop. I display the current value of the loop variable in a text box like thisFOR i = 1 TO 5textbox.text = textbox.text & " " & i.ToString'do something elseNEXT i Unfortunately the text box on the screen remains unchanged until the loop is finished. Then...
hi,i am new to vs2005. i would to connect to a remote(sql server) using VB.NET WINDOWS APPLICATION. is it possible to connect sql server.to be specific i am creating a program that will allow me to connect the main database. example i have a main database which is the sql server. i have 5 or more th...
339 byte By
e_b at 2007-11-20 6:43:11
hi everyone!i am new in vs 2005 (vb.net). My problem is I would like to access sql database from server. example my main database is in the US and I am from phil. i would like to put a data in my main database which is in the US. My question is how would I be able to do that?? anyone if you have any...
649 byte By
SirDino at 2007-11-20 6:43:13
I have recently decided to put a full time effort into learning to develop software and I am starting with Visual Basic. Over time I intend to learn Java, SQL, object-oriented programming, Windows API, etc, etc.Sometme ago I bought Visual Basic.net 2003. I knew very li8ttle about VB6 at the time a...
Dear All,<br/>How to check whather a file is running or not<br/>Dana
588 byte By
laxatcg1 at 2007-11-20 6:43:45
I have a databound DataGridView being displayed in a form. In this DataGridView, I have columns named 'OrderComplete' (checkboxcolumn)and 'OrderCompleteDate'. I have made the column 'OrderCompletedate' invisible (visible=false). Now when am updating... and when I tick t...
243 byte By
Ayotunde at 2007-11-20 6:43:52
I have a databound DataGridView/Datagrid being displayed in a form. There will be existing records in the DataGridView/Datagrid. I want the data to be updated to the database as soon as a change is made to any data in the datagridview/Datagrid
I have developed an application in vb.net/ms access.I am distributing the .Net framework along with my application.When I install the application on a machine , the .Net frame work Repair window appears and does the repairing, and after repairing the installation proceeds.This problem was not there...
Dear all<br/>how to system folder to treeview like c:drive<br/>Regards<br/>Umapathy
2336 byte By
richnl at 2007-11-20 6:44:26
I have a beginners questionSofar I have added two windowsform applications(server and client) and a libraryclass project to the solution. I have added System.Runtime.Remoting references to both projects and refferences to the remoteobject class.Now I need some help to fill in the blanks.I kept the c...
Hi Guys, i'm trying to fill a dataset very fast. Currently its taking me about 7 seconds to fill a data set with 100,000 records from a text file. I think the hold up could be in the for loop i'm using. It transfers the contents of the comma delimited text file to the dataSet. While...
294 byte By
tim8w at 2007-11-20 6:45:04
Is there a way to set the background image of a TreeView control like you used to be able to do in VB6 using the Sheridan controls?<br/>Sheridan VB6 SSTree control Properties:<br/>PictureBackground<br/>PictureBackgroundMaskColor<br/>PictureBackgroundStyle<br/>PictureBackgroundUseMask
579 byte By
PCgeek at 2007-11-20 6:45:10
I would like to know if i can create and vb.net script that can run off my thumbdrive and write any drive activity to a read only text file. I know how to write to a text file my only problem being that I don't know what system class I need to gain the file activity information to. This mini lo...
I am creating a database application in vb.net 2005.I need to have multilingual unicode support in it.As for Win98, I want to use unicows.dll to enable multilingual unicode support.By using unicows.dll I want to be able to input unicode text into my application.Could someone please tell me how I can...
858 byte By
laxatcg1 at 2007-11-20 6:46:15
I get a ERROR: Property 'Style' is 'ReadOnly'... when I was trying to make the DataGridView Row style as 'FontStyle.Strikeout'. I have given below the code. Please check the code and correct me, as where I am going wrong. Thank you. Private Sub DataGridView1_CellForm...
Dear All,<br/>How can i display the console output by line by line during a execution of a batch file<br/>Thanks In Advance
This is a bit of a confusing one for me... In my project I have a MDI form with a Listbox on it, A Socket Class with events, and a General Code module... (lots more in there but these are the key ones to this problem..) The MDI Form Initiates the Socket class, Network communication takes place, and...
444 byte By
Dave C at 2007-11-20 6:47:19
The CheckedListBox control is an ideal solution for a program I'm writing except for one thing: I'd like the user to be able to check or uncheck items via the keyboard instead of a mouse.I need the user to be able to scroll through the list with the arrow keys and quickly set or clear the...
Hi,<br/>Can any one let me know how to build ActiveX EXE using VB.NET.<br/>I've some code for ActiveX EXE in VB6.0. I need to uild teh ASctiveX exe for the the same using VB.NET. Could you please let me know the full details/steps involved in this.<br/>Tthanks,
Is there a way to accomplish this within VB2005 ?<br/>thnx ..
I know the color of the MDI Container is grabbed from your windows settings. The background of that is always your "ActiveBorder" color. I make the TransparencyKey set to "ActiveBorder", yet it's not transparent. I can't use the Opacity feature, because it always makes the child forms t...
Hi, Can anyone help me? I want to search records in First, Previous, Next, Last manner very frequently. In recordset I can manage pointer with the help of movefirst, movenext,moveprev,movelast but I dont want to use adodb.recordset.No such Properties are available in datatable as far as I...
deleted
Hi all...I am trying to create something which allows me to calculate numbers to any precision (VB.NET/2005). I was wondering:1. Whether I should make it a Class or a Structure2. How to implement basic arithmetic operations (algorithms for Multiplication, Division, and Exponentiation of any base)3....
706 byte By
qubits at 2007-11-20 6:49:27
You've got to be asking yourself, what kind of question is that?? But i've got this program that would make my life much easier if i could compile the code down to machine code and have the assembly's manafest look in the current directory for any dll or additional module it might nee...
773 byte By
redgto4u at 2007-11-20 6:49:39
I am trying to design a console that will take the number of pennies (cents) and split the amount up into dollars and cents. So for instance, the user enters 722 (cents). By clicking the compute button the program will split it up into 7 dollars and 22 cents. I dont need help with syntax...I suck at...
358 byte By
laxatcg1 at 2007-11-20 6:50:07
I have many label control's and DataGridView's in my main form. I do re-start many times during the application for the page to get updated. So when the main form opens all the control/elements flickers many times. Whys that? and Can't we avoid that? Please help me on this regard. Tha...
442 byte By
laxatcg1 at 2007-11-20 6:50:10
I have a DataGridView at the bottom of the form and after I enter a new record and when I click the update button and when the page gets restarted it displays the top part and NOT where I entered the record. Can't we position the page where the cursor is clicked on previous instance (for exampl...
494 byte By
laxatcg1 at 2007-11-20 6:50:12
I have a strange requirement. I have a Databound DataGridView in my form where I add a record (Enter/ Input values) and one of the column name is 'Send to:' and I enter a email-id in that column. So when I click 'Submit' button and if there is a value in the column 'Send to:...
Hi,I have one application in VC++ and MFC i built GUI for my application. now i want to deploy it for another machines. i am using setup and deployment project in visual studio . net for doing this. when i start a new project setup project in VS.net a tree with four nodes present like Application f...
Well almost everyone knows about the VB6 Version of IP Chat ( http://www.dev-archive.com/forum/showthread.php?goto=lastpost&t=373077) that i've been developing. Well for the past few weeks i've been working on a .NET version to help me hone my skills.. This version is far from complete and...
2473 byte By
walkeraj at 2007-11-20 6:51:34
Hello everyone,I'm writing an application that will accept a .csv file from the remote user (currently using neatupload controls from brettle.net), then will process it and (eventually) integrate it with a database. The problem I'm having is that, when I try to initialize the OleDbDataAda...
Where are they ?In VB6 I can use the application wizard to create MSHFlexGrid Projects and Forms. While the result is a bit rough, it saves HOURS of keying the Datafield names into all the text boxes, and builds all the basic code.I have > 50 forms to create - a similar helping wizard would be...
4688 byte By
peary at 2007-11-20 6:51:53
Hi, everyone,I'm writing a program to discover wireless network using Windows Native Wifi API & VB.net.I have to declare the windows API in my VB.net program. The original windows declaration is as below.The problem is in "struct _WLAN_AVAILABLE_NETWORK_LIST", it declared "WLAN_AVAILABLE_NETWOR...
442 byte By
laxatcg1 at 2007-11-20 6:52:24
Can we have 'hotspot' in windows forms...? What I meant was... in webapp we have a 'hotspot' control where-in we mark an area on a image to have a link. Is it possible to do something similar in windowsapp? I want to have an area marked on an image to have a link to another form....
343 byte By
laxatcg1 at 2007-11-20 6:52:51
Is it possible to have a 'Function Key' in windowsapp... !!!What I meant was... like how we have 'F5' to refresh in Internet Explorer, I would like to have the same in my windowsapp. Is it possible? If YES, how do I proceed? My working environment is: VS2005 / SQL / VB / Windowsa...