653 Topics

Member Avatar for
Member Avatar for decade

Hi everyone, I'm a newbie in VB.net I would like to ask if there is a code or equivalent code or script like $_SESSION variable of PHP in VB.Net Thanks;

Member Avatar for JorgeM
0
174
Member Avatar for priyamtheone

MSDN recommends disposing any variable of type System.Drawing.Brush before its last reference is released. Otherwise, the resources it is using will not be freed until the garbage collector calls the Brush object's Finalize method. As we know, local variables are destroyed automatically when the control flow goes out of the …

Member Avatar for Momerath
0
213
Member Avatar for DM Galaxy

I just want to create an application where the user click on the "check for Update" button, My application start to check update. Uptill this I hav done so. I use this Code for this: Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("pastebin link") Dim response As System.Net.HttpWebResponse = request.GetResponse() Dim sr …

Member Avatar for DM Galaxy
0
282
Member Avatar for sonunclejalil

my project is want to slide horizontal and vertical a picture using kinect in VB 2013, the problem is, i don't know how to define the I/O, here i got some coding from kinect skeleton tracking. i hope that some one can teach me what to do with the code …

0
148
Member Avatar for Mafiamanandre

Hi all. I would like to know how can I code form1 to open form2 immediately when form1 loaded in Visual Basic? eg. Form1 opens and immediately form2 opens. This is almost like website redirection. Thanks.

Member Avatar for DM Galaxy
0
471
Member Avatar for jared.geli

Hi I need help in making an auto complete feature in my datagridview where if I input a certain cell it will automatically have a value or it will have a autocomplete suggestion (like a textbox link to a table) based on my other table. I don't have any clues …

Member Avatar for chuchaykaw
0
1K
Member Avatar for baabjitvk
Member Avatar for Mafiamanandre

Hi all. How Can I makes login form for my vb.net project? I would like to make one that can identify the user according to their roles. Eg. Roles 1-4. Role 1 being the lowest user so this user can't use everything on the app. Role 4 as the highest …

Member Avatar for Reverend Jim
0
2K
Member Avatar for Yorkiebar14

Hello, I have been using StreamWriters for a long and time and it has always worked but now I seem to be getting an Access Denied error while trying to save to the current users Desktop... Dim savePath As String = "C:\Users\Josh\Desktop\EpiPhone\029.csv" Using sw As New StreamWriter(savePath) '...Rest of code... …

Member Avatar for Jamblaster
0
779
Member Avatar for priyamtheone

I have an MDI application containing an MdiParent form and few MdiChild forms. The MdiParent has a fixed MenuStrip, a fixed ToolStrip and a fixed StatusStrip. The MdiChild forms have one or more ToolStrips and a StatusStrip along with other controls in them. The ToolStrips and the StatusStrip of the …

0
245
Member Avatar for DM Galaxy

I am in wonder. I just make a slideshow form and add the context menu strip as when the user click on download image then current image get copy and paste on the desktop. I use path and destination method in this but they say bitmap cannot be converted into …

Member Avatar for DM Galaxy
0
455
Member Avatar for jared.geli

hi I'm having problems in my crystal report where all the selected rows in my datagrid will show up in my crystal report but instead it showing me an exception selectcommand.connection has not been initialized here's my code in my form where the datagrid is: Dim cmd As OleDbCommand = …

Member Avatar for jared.geli
0
346
Member Avatar for elie.karkafy
Member Avatar for smellon

**I need urgent help with a hangman game it needs to be really basic so i can understand but it needs to include an array and an onscreen keyboard please please please help!

Member Avatar for KenSquare
0
212
Member Avatar for gmmorpheus

Private Sub Load_Faculty() Dim con As New OleDbConnection Dim cmd As New OleDbCommand Dim dr As OleDbDataReader Dim arrImage() As Byte Dim myMS As New IO.MemoryStream Dim sSQL As String = String.Empty Try sSQL = "SELECT b.FacultyFirstName, b.Image, b.Course, a.Course" sSQL = sSQL & " FROM studentsrecords as a left …

0
186
Member Avatar for anJelo.towT

can someone help me ? whenever i start this program its always says that " compile error type-declaration characters does not match declared data type. then the rs.Fields! will go hightlight. can someone help me ? Dim rs As Recordset Private Sub Form_Load() Dim list As ListItem ListView1.ListItems.Clear Set rs …

Member Avatar for tinstaafl
0
136
Member Avatar for jason.craft.5439

So I have this assignment for school and I've got the program working, but some minor issues (maybe major issues with cleanilness of code, but working on it). I'm having to make a Guess My Number program and it seems to work, but when I start a new game it …

Member Avatar for kRod
0
363
Member Avatar for tinstaafl

I've noticed that comments in VB code snippets are ended in the middle of a line if an apostrophe is present(i.e. using a contraction), then continue from the next one over several lines until it reaches another. I'm wondering if that can't be changed to keep it as a comment …

Member Avatar for tinstaafl
0
242
Member Avatar for mathewsp.jacob.7

How to check if email id already exist in db using vb6 r.Open " select count(*) from login where username = '" & Text1.Text & " ' ", c, 3, 3 If Count > 0 Then MsgBox " already exist " Else MsgBox "valid" End If r.Close plese help this …

Member Avatar for BitBlt
0
595
Member Avatar for docgrid

dear friends, icreated small project to open excel using vb. everything works fine with one exception. i used VB express 2010 in xp OS when developing the project. when it runs on the windows 7 platform the opening excel file goes behind the my application. the VB form topmost function …

Member Avatar for kRod
0
775
Member Avatar for amvx86

Hey what's up everyone? I have a script here that works when i execute it from command line, and when I double-click it. Now, there is something interesting going on here. 1) When the program is executed by process.start it does not load (even when called from cmd.exe /c ...) …

0
192
Member Avatar for Paul_15

I have an issue within VB Express 2008 which I am struggling to resolve. I am trying to take the information from 3 columns in a CSV file (ServerRef, ServerName, ServerIP) with no header row and populate 3 combobox's for users to select from to initiate an RDP connection. So …

Member Avatar for Paul_15
0
230
Member Avatar for lexaeterna

i am working on a project and theres a feature that i seemingly want to include, it is the attachment of a word file in an email and the values that are included in the letter are imported from the database using vb.net is there a way to import values …

Member Avatar for G_Waddell
0
312
Member Avatar for Fangling

hi, i have a datagrid which looks like: subject students eg1001 182737H 29837B 29837C 19282W eg1002 192837C 32810H so on and so forth. how can i do a counter and put into a column between subject and students? like: subject numberofstudent students eg1001 4 182737H 29837B 29837C 192823W eg1002 2 …

Member Avatar for Fangling
0
236
Member Avatar for ogrishmania

I'm trying to add [this](http://www.codeproject.com/Articles/15559/A-Windows-Forms-based-text-editor-with-HTML-output?msg=4610424#xx4610424xx) to my existing project. I'm right clicking the toolbox-> chose items-> select the exe. It automatically adds a reference to my existing project. But after I drop the control onto my form it gives me: "LiveSwitch.TextControl.Editor is not defined" 2 times and 1 "LiveSwitch is …

Member Avatar for ogrishmania
0
404
Member Avatar for GeekPlease

Hello folks, I'm currently studying how to use LinQ in VB.NET but I guess I'm stock. I'm using VS 2008 version (framework) 2.0 Anyone who can help me get through this??

Member Avatar for GeekPlease
0
284
Member Avatar for kazekagerandy

i am working on a room locator program, the feature includes the room location and the path that the searchee can take to locate the room. is there a way to move a control in a vb application just like what we see in flash applications? thanks for the ideas …

Member Avatar for Eternal Newbie
0
289
Member Avatar for schroaus

Recently, I programmed a game in visual basic for my brothers birthday. I was planning on sending it to him through our schools email (other email sites are blocked) and when I tried to send the application my email was stopped with a mesages saying that I am not aloud …

Member Avatar for Mr.M
0
210
Member Avatar for harrybo

<p> I have a problem where I deleted a blank code page where it had nothing on it and after I deleted it an error came up when I wanted to debug my project and then it told me that there was build errors. Would be nice to have a …

Member Avatar for harrybo
0
96
Member Avatar for schroaus

I am currently taking a programming class. I finished my work early one day and was bored so.. I decided to make a randomizer that will only pick a number a single time. I have been trying to make it, but I run into continous errors with it. It seems …

Member Avatar for schroaus
0
219

The End.