VS 2008 DGV Auto-SizeColumnsMode
Apr 4, 2009
i have a dgv that isn't bounded to any datasource, i manually defined the width of the columns, and now i need to know if it's there some way (like anchor), to stretch and shrink the columns and maintain the same proportions, when the size of the form changes. [code] but then all columns loose the width that i defined before, and i don't want this...
View 2 Replies
ADVERTISEMENT
Jun 5, 2009
I am trying to just write something to a cell in a sheet and I am getting the error message:
Exception Exception from HRESULT: 0x800A03EC Stack Trace: at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
[code].....
View 2 Replies
Jan 9, 2010
I have 1 listbox and 2 buttons and some images in the form. So what is the best way to do
View 15 Replies
May 1, 2010
i have made a math calculator in vb2008
I would like to know if any of you have a snippet for a Auto Run Exe through a CD?
I have seen many USB bootables ones but can't really make it work for CD's
View 2 Replies
Sep 16, 2010
how can i set auto DATETIME...
View 5 Replies
Oct 12, 2011
All functions done, but the main function, the autorun and auto hide didnt work like i wish. for this keylogger, im using checkbox to make it autorun when windows startup and another checkbox to autohide. i already placed the codes but nothing happen. when i tick those checkboxes n restart my pc, nothing happen. is it because im using checkbox?
View 3 Replies
Oct 27, 2009
I have been building a program recently that makes accessing information easier, mostly for definitions to words for school. It works effectively so far, it searches a first site for a word entered into the textbox, and if a 404 error is recieved, it navigates to the next site and serches for the word. however, i would like that if the definition is found on the first sit (e.g. no 404 error is recieved) than when i hit a button (btnCopy) it will copy from point A which is the word "Definitions:" (yes, the colon was on purpose) to point B the word "Synonyms:". This copy will hopefully not include Point A or Point B, nor require any prior knowledge of what will be found between the two points.
View 1 Replies
Jun 12, 2010
i was playing around with the visual basic 2008's project settings. I have 2 goals in mind
[Code]....
View 3 Replies
Dec 10, 2008
How to detect USB Drive (Stick) when plug/unplug in real time ?ps like : show drive label in textbox , " if plugged text1.text = E: " and " if unplugged text1.text = "" " in real tim
View 2 Replies
Feb 4, 2010
I used the search, Could not find something on auto starting the program from download, or auto run, I'm not sure what it is exactly called, that might be why I didn't find anything.
View 2 Replies
Aug 26, 2009
What size to u guys create your web browsers at ?
How can i set my browser to auto allign all its items to fit whatever size i make my browser screen?
Ive created a browser , it fits my screen perfectly but its all pushed to the right on my m8s screen
View 4 Replies
Apr 16, 2011
I am using the following code to number the listview in vb.net.
vb.net
While myListData.Read ' using ExecuteReader Dim i As Integer For i = 0 To lvList.Items.Count - 1 lvList.Items(i).Text = CStr(CInt(i) + 1).ToString() Next i lvList.Items.Add(Trim(CStr(CInt(i) + 1).ToString)) 'col no. 1 ' adding sub items from database (mysql) ' ........End While
The output problem is as follows
Col 1
1
2
3
[code]....
There is some problem with the code. Should i try the padleft or the "D2" ?
View 2 Replies
Sep 18, 2009
Im trying to make a autologin to a website called [URL] But i have some problems. try to make a code for this.
[Code]...
Enter the same text as in textbox1 in the username textbox in the website. Enter the same text as in textbox2 in the password textbox in the website. to click on signin bottom, navigate to this website: "javascript:void(loginClick());" when the webbrowser1.url is "[URL]" then, form2.show and me.hide if the text "You have entered an incorrect password." show a msgbox with the text "enter a valid password and username" if you can make a code and a list of what items i need,
View 6 Replies
Sep 27, 2011
I am making a project in which if SID 001 is saved .after this SID textbox should display 002 automatically .I am using an Access Database. My code is as shown below:
Private Sub Sales_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
[code]....
View 1 Replies
Feb 18, 2010
I'm trying to making an auto-responding program for different Instant Messaging chat programs, like MSN or XFire.I don't know if it's possible to do this in Visual Basic. If not, feel free to post a solution in C# or C++ too.
View 3 Replies
Jun 22, 2009
Typing all texts from the listbox1)
View 3 Replies
Jan 29, 2009
made a program on visual basic and i want it to update, is it possible to on startup check its current version with some text on my website? and if the website numbers are higher it updates a file from the site? if i can how do i do this, and seeing as ive done the foolosh thing of making the whole project as once big exe not dll's can i get the updater to download the new exe if there is one and replce the old one with it
View 1 Replies
Aug 14, 2011
I want to automatically generate VB.NET forms using tables from a SQL Server database (one form / database table). It is perhaps possible with writing custom custom code for it, but if there is already some feature that does the job that would be great (database has 40+ tables, manually doing this is a tedious task).
View 1 Replies
Mar 9, 2010
I just lost 1/2 hour of work when VB IDE suddenly lock up in a loop. I thought no big deal, I have it setup to autosave every 3 mins. It would have backup up at least 10 times. Killed VS via task manager. Brought VS backup. Went into my project and I am back where I was 1/2 hour ago.Is there a way I can still recover my work so that when this happens in the future I can recover lost work?
View 4 Replies
Feb 22, 2009
I created a access table with three fields, CustomerID, FirstName, LastNameI set the CustomerID field to the primary key and the type of AutonumberIn my VB app I dragged the three fields over to my form.I clicked on the plus sign at the top and it displayed -1 in the customer field, I entered a First Name and a Last Name and press the save button. I repeated the process 2 more times and the CustomerID field went from -2 to -3.I looked at my table in acces and all three records showed 1, 2 & 3 as it should. When I exited the form and then open the form again it shows record numbers 1, 2 & 3 as it should.How come it takes exiting the form and then back in to see the correct CustomerID's ?
View 4 Replies
Jun 25, 2010
For example:
test is a variable
test = 1
How do I make that if test = 1 that a listbox fills with the items: red, blue, green, yellow?
If test = 1 Then
listbox1....
View 4 Replies
Mar 3, 2010
I've a multiform project, and one of the forms within it is a loginform created using one of the templates built in with Visual Studio. This form, when opened has no code in any of the open events, yet still manages to:
- put the cursor in the password field ready for text entry
- highlight the "OK" button
- press the "OK" button if the enter key is pressed.
How can I replicate this behaviour on other forms? I've copied the properties of the button to OK buttons on other forms but can never get them to behave in the same way.
View 12 Replies
Feb 23, 2011
What I'm attempting to do is create a Form with two Panels:
Left - A autosizing panel with a dock fill richtextbox
Right - A constant size panel with buttons and features for editing the text
Effect desired: When scaling the size of the form you cannot scale smaller than the initial size of the form, but when expanding the panel on the right is anchored to top right while the richtextbox in the left panel will scale infinitely in either height or width dimensions.
I am sure this is likely some simple property of the textbox or the panel, but cannot seem to locate it. I have the panel on the right anchored at constant size, but cannot seem to get the panel left to autoscale on dimension change.
View 2 Replies
May 13, 2010
i'm done downloading and just install VB Express 2008 into my computer My computer running with window Xp. I like to make my own window application that can use to auto fill registration form. how to make it happen.
View 2 Replies
Feb 10, 2011
I have a question about application settings.Is it possible to update application settings or are they read-only?
If I program an auto-login feature, am I able to store the login details and use it next time user logs in. Would them settings remain after application is closed and opened again?
View 6 Replies
Jun 21, 2010
Constant monitor for process, if process not running execute this()
VB.NET
Imports System.Runtime.InteropServices
Imports System.Diagnostics
Public Class Form1
[Code]......
View 1 Replies
May 8, 2009
I need help Auto-selecting the first item in my listbox (listbox1). Doesn't sound too difficult but seem to be having a hard time with it.
View 5 Replies
Feb 23, 2011
I have a richtextbox that I paste a HL7 msg into and then harvest the message instance manually from the text, what I would like to do is automate the harvest of this integer to automate the selection process.
example of message:
OBX|1|TX|^13971.8498.Report Text||Examination: Right elbow series
OBX|2|TX|^13971.8498.Report Text
[code].....
View 3 Replies
Mar 12, 2010
I had a post on it but i ran into the same problem. My program downloads a text file from server and checks it.
It works but it makes the program crash for 4-9 seconds.I was thinking of downloading the file more slowly or using Threading()
View 5 Replies
Aug 30, 2009
I want to create an application similar to "Windows Live Writer"(that is for blogs) but this one is for forums..This application is solely for my personal use only.I would like to have a facility where I have 2 text boxes--> One for username and one for Password along with a submit button.On clicking Submit I need a msgbox to display whether Login Succeeded or Failed, and depending he should be directed to create a new post in any particular section of that forum..Consider for now,the forum I am trying to do this is, vbforums.com..Its just like OFFLINE creating and then posting..I have already created forms,BBCode Editor, GUI for this purpose and want to start with Communication coding.I tried using Http request but based on its response I dont know how to distinguish between valid user and invalid user.
View 2 Replies