20,285 Topics

Member Avatar for
Member Avatar for guptas

Hi all! i am trying to copy a file from 1 location to other location with a new name. The new name should be like "Oldname + date & time". I wrote the following code but getting error that the Given path format is not supported [code] Imports System.IO Public …

Member Avatar for guptas
0
326
Member Avatar for Dorayaki

Hello, Currently I can connect database through local area network by using IP address on the SQL string. Then I read about security things that it require ssh/tunneling ? I also wanted my computer can connect to mysql database server not only through LAN but also through the Internet. So, …

0
61
Member Avatar for laptop545

Hello All, I have a question regardind=g accessing shared resources. I have a for loop in which i am creating many threads.. And each thread at some point of time they call this function : [code] Public Function UpdateMailJobs(ByVal con As Data.DataRow, ByVal jobid As String, ByVal varName As String, …

Member Avatar for the_carpenter
0
172
Member Avatar for KrisJones

Can Somebody please help a newbie ? I`ve searched high and low for an answer, but just can`t seem to get it working ! I`m trying to write a programme ,in VB2008 Express, to receive Serial Port Ascii data ( from a Multimeter) and display it as Hex Data in …

Member Avatar for ÜnLoCo
0
149
Member Avatar for Dorayaki

Hello, I Got problem in using delimiter by using vb.net 2008 Please take a look at my code [CODE] Dim array As String() Dim IPaddr as String Dim r As New System.IO.StreamReader("config.ini") Dim rline As String = "" Dim s As String = "" While r.Peek <> -1 rline = …

Member Avatar for codeorder
0
107
Member Avatar for mustangBE

hello i have an appl. in vb2008 with a datagridview. when i import my data from excel (colum with text and numbers)it only imports the numbers or the text , not the both. example : 120 150 set25 160 "set25" is not imported example : set120 150 120 set130 "150 …

Member Avatar for mustangBE
0
116
Member Avatar for lordbaddkitty

I'm trying to LINQ two tables based on a dynamic key. User can change key via a combo box. Key may be money, string, double, int, etc. Currently I'm getting the data just fine, but without filtering out the doubles. I can filter the double in VB, but it's slooooow. …

Member Avatar for lordbaddkitty
0
288
Member Avatar for pixma

Private Sub Save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Save.Click conn.Open() Dim cmd As New OleDbCommand("Update (SELECT Employee.empno, Employee.emplname, Employee.empfname, Employee.empmidname, Employee.contactno, Admin.description FROM Admin INNER JOIN Employee ON Admin.adminNo = Employee.adminNo) Set emplname=?, empfname=?, empmidname=?, contactno=?, description=? where empno=?", conn) cmd.Parameters.Add("empno", OleDbType.Integer) cmd.Parameters.AddWithValue("emplname", OleDbType.Char) cmd.Parameters.AddWithValue("empfname", OleDbType.Char) cmd.Parameters.AddWithValue("empmidname", …

Member Avatar for pixma
0
165
Member Avatar for perryg30313

Can anyone tell me what is wrong with the following Code. I am trying to launch a form on a different thread because the form takes 10+ seconds to load. The code I am using follows: [CODE] Public Class frmAdjustments Inherits System.Windows.Forms.Form Dim gVariant As Guid Dim gsUID As Guid …

Member Avatar for perryg30313
0
129
Member Avatar for bettybarnes

hi everyone kindly help me with my code, my form isn't showing my newly added records in the database but when i close it and then open again it will show. I want to know how to add refresh button and it will automatically refresh itself.. Thanks in advance!

Member Avatar for bettybarnes
0
197
Member Avatar for Naveed_786
Member Avatar for Naveed_786
0
477
Member Avatar for OldQBasicer

I'm re-posting this because I forgot to put code tags around the code. I'm trying to make a form with a thermometer painted on it. I want the thermometer to go up each second. I tried the code below and it sorta works, but not really. It does the For... …

Member Avatar for Mariandi
0
208
Member Avatar for kalyan2642

Hello people, can some one explain me how i can plot distance based graphs.., like i have x,y and z vlaues in three files , i calculate distances cause x and y are latitude and longitude now i need to plot them using zed graph.., i can plot them but …

0
37
Member Avatar for SpOOKy.Is.GoD

Here is my Prob- we have a main router from which we use a distributor or hub for internet connection distribution, ever computer connected automatically obtains IP address of format say - 180.50.50.xxx to access net connection. if any connected computer has different IP format than the given one, it …

Member Avatar for ÜnLoCo
0
3K
Member Avatar for VB 2012

How do get a dll's resources By resources i mean the stuff that you can put in like Images,files,icons ect. How to you call the resources:)

Member Avatar for GeekByChoiCe
0
96
Member Avatar for riddhi_k
Member Avatar for akuvidz
0
2K
Member Avatar for Mariandi

hi i guess the title pretty much states the question but i will give the senario to be more clear. i have a mousemove() event which i add in my program programmatically and i need a way for raising that event (again) programmatically too. raiseEvent control_mousemove() doesn't work as it …

Member Avatar for Mariandi
0
1K
Member Avatar for cege

I play a game called Hyperiums... long story short, the fleets cost money depending on your planets race, production and government type. And you can have it by how long it's going to take and what the fleet AvgP is going to be or see how much the upkeep will …

0
57
Member Avatar for cmhampton

I need to return a class which inherits List(Of ) in a webservice. The consuming application simply views it as an array of the class, not a list. In fact, the Collection class is not even available to derive an object from. Class Definition: [CODE=VB.NET] Public Class TestResultCollection Inherits List(Of …

0
79
Member Avatar for perryg30313

I've got a vb.net 2005 form that calls a stored proc to load a combobox with eligible sales reps. There are approximately 40k sales reps available...I know that's a lot, but that's what I'm dealing with. I'm trying to figure out why it's taking this form 15 seconds to load. …

Member Avatar for P-Geist
0
188
Member Avatar for jlego

im going to try and explain this as easy as possible, this is something i have never done with .net before there is a login form at [url]http://www.ritani.com/salespersons/login[/url] it uses the post method to login. i have a web browser control in vb.net that I want to have automatically log …

Member Avatar for codeorder
0
2K
Member Avatar for choover12

can someone tell me how to get the [U][B]icon[/B][/U] of a webpage. i can get the icon of a webpage and set it as an image but i want to take it and set it as the icon for my application. here is the code to get the icon and …

Member Avatar for choover12
0
886
Member Avatar for kingster113

I'm having trouble trying to update or delete records from my database. Basically, I have a datagridview(DGV) in my form and the following is what I wanna do. The user could directly change/edit the values in the DGV and just click the update button to update the database. And the …

0
111
Member Avatar for Russ_T

Hello all, This code works fine on my Win XP machine, but not on Win2k. I have tried overriding the webrequest function in Reference.vb with [code=vb.net]Protected Overrides Function GetWebRequest(ByVal uri As Uri) As System.Net.WebRequest Dim webRequest As System.Net.HttpWebRequest webRequest = CType(MyBase.GetWebRequest(uri), System.Net.HttpWebRequest) 'Setting KeepAlive to false webRequest.KeepAlive = False GetWebRequest …

Member Avatar for Russ_T
0
221
Member Avatar for Kingcoder210

Which datagrid should I use in vb.net? Which grid works like mshflexgrid? I have used mshflexgrid in my vb.net project as a result it shows error when I am trying to build my project! Please check my code & tell me which grid will support my code. Please add example …

0
82
Member Avatar for Lee21

I just want to know if is it possible to connect to a SQL server using a data link file in vb 2008? how will i create a valid data link file? How will i call the data link file in my program? please help me..

0
57
Member Avatar for msrd

I'm trying to figure out how to pass a parameter to a report in VB... [URL="http://screencast.com/t/MjBhYjYxOTM"]http://screencast.com/t/MjBhYjYxOTM[/URL] I've looked at the microsoft library on the report viewer class, but it's only slightly better than a boat anchor... does anyone have any other useful tips on how to figure this out?

0
109
Member Avatar for Kingcoder210

I have visited [url]http://msdn.microsoft.com/en-us/library/k3bb4tfd(v=VS.71).aspx[/url]. I have learned many things. But it didnt make clear about those files what I have used there in my program. I know I can add additional files. Does it mean that I have to add those files there in additional file dialog box what I …

0
62
Member Avatar for srice

I'm trying to populate my textboxs with data from my database when the user name is selected but I'm having trouble getting the code right. Help Please! table users (there is a textbox for each of these fields) password lastname firstname Using upcmd As New SqlCommand("SELECT * FROM users WHERE …

Member Avatar for srice
0
153
Member Avatar for senior_oracle

I Have a PDF Folder containing pdf files with the names ( sp_1.pdf , sp_2.pdf etc.....) In my word files , I have the text : " and it was created under the rule sp_1 in order to acheive the level we are working for that is sp_2 " so …

Member Avatar for SpOOKy.Is.GoD
0
119
Member Avatar for arjen

hello guys..i have a question..Is it possible to make the time running in datagirdview? and also if it is possible to make the update of two form combine in 1 form for example you have a customer form that you save, update in database and another like for employee that …

Member Avatar for SpOOKy.Is.GoD
0
191
Member Avatar for jamesgreaves

In the past I have been able to simply read the physical pinouts on the: Games Port (DB15) (using PEEKS and POKES) . . . . . . . . . . . . . . . Parallel Port (DB25) (also using PEEK and POKES(888)) . . . . . …

Member Avatar for setherith
1
132
Member Avatar for nore

in my problems, i want to use event keyboard press 'Enter' on textbox, i'm very confuse because in event property from textbox there was Enter, but after I double click and read statement in that, after i test my program, there was nothing , please help thanks before :)

Member Avatar for nore
0
117
Member Avatar for lucaazori

Hi, i would like to share you my problem in order to get solution `cause i gonna be crazy :( Actualy when i do click to insert button in my form i get this error: [ATTACH]17077[/ATTACH] the strange is when i close this window and i do click again the …

Member Avatar for lucaazori
0
190
Member Avatar for cege

I'm using Mastering Visual Basic 2010 <book and it tells me... In a button's Click event handler, declare two variables as follows: Dim a As Single, b As Double Then enter the following statements: a = 1 / 3 Debug.WriteLine(a) Run the application, and you should get the following result …

Member Avatar for ÜnLoCo
0
102
Member Avatar for msrd

Hi all, I'm fairly new to VB. I'm working on a Windows forms app that will average a set of numbers, the only catch is that there are 10 textboxes(4 in the example for times sake), and not all of the textboxes could be filled with a number... I know …

Member Avatar for msrd
0
97
Member Avatar for hosseinel

[code] hi, i have been having an endless problem with the save button for some time and i am also new in here. Actually, here's how my problem defines: i was developing my own project in the university so what i am stack is to have save button which firstly …

Member Avatar for the_carpenter
0
180
Member Avatar for socheata

Dear Mr or Ms: Nowadays, I have started to learn a programming and my subject that I have chosen is VB.NET. but I am very afraid whether I can learn it well or not. thus, I want to ask all of you that, How can I learn it well and …

Member Avatar for Ancient Dragon
0
64
Member Avatar for arjen
Member Avatar for msrd
0
90
Member Avatar for zulhimi89

If there any solution on how to choose specific column..what is the code?? i'm using VB.Net [CODE] If e.Row.RowType = DataControlRowType.DataRow Then Dim CellValue As Decimal = Convert.ToDecimal(e.Row.Cells(4).Text) If CellValue < 5.0 Then e.Row.Cells(4).BackColor = Drawing.Color.Orange End If End If [/CODE]

Member Avatar for zulhimi89
0
95
Member Avatar for Derkus

So, this might be simple but I seem to be missing it. I am trying to figure out how to use variables to define which object to update. I could of course use a case statement to pick the object based on a variable, but it seems to me like …

Member Avatar for trpsjt2008
0
161
Member Avatar for eyad212

i use a Button on tool strip menu any one can help me to write a code(function) so when i click it i get what i want i dont want to use the mouse

Member Avatar for trpsjt2008
0
782
Member Avatar for kalyan2642

hello geeks, this is my first post, and my question is... i have some text files from which my app reads and process data, these text files are in hundreds and i am now providing them in a folder, but these should not be accessed by others, how i can …

Member Avatar for the_carpenter
0
153
Member Avatar for bettybarnes

i have a problem with saving data to access database this is my code [CODE] Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click If inc <> -1 Then Dim cb As New OleDb.OleDbCommandBuilder(da) Dim dsNewRow As DataRow dsNewRow = ds.Tables("Personnel").NewRow() dsNewRow.Item("PerID") = txtPersonnelID.Text dsNewRow.Item("FirstName") = txtFirstName.Text …

Member Avatar for the_carpenter
0
169
Member Avatar for jackparsana

I want to know about the tool strip Control. Can i Use Tool strip button in all the Win form. Like, I put the delete button in all the window form, but I want to put only one button in the tool strip and remove buttons in all the window …

Member Avatar for jackparsana
0
150
Member Avatar for zulhimi89

anyone can help me to separate a database horizontally instead of potrait. as example... BEFORE: Quarter 1=20 Quarter 2=10 Quarter 3=15 Quarter 4=35 AFTER: Q1 Q2 Q3 Q4 20 10 15 35

0
49
Member Avatar for jamesvick

i want to implement this feature : if i have a following sentence : {my name is james vick and iam a {member|user|visitor} on this {forum|website|site} and iam loving it | iam admin and iam a {supervisor|admin|moderator} on this {forum|website|site} and iam loving it} on a click of button i …

Member Avatar for jamesvick
0
162
Member Avatar for choover12

i need help, i am making a web browser in vb 10 and i have a built in media player and i want to make a play list. i got it to work with a listbox but not anything else. For the menustrip [CODE] Private Sub PlaylistToolStripMenuItem_DropDownItemClicked(ByVal sender As System.Object, …

Member Avatar for choover12
0
564
Member Avatar for mimosa9618

I am new to vb . Now i wan to create a standalone program to send datagrid data via email . izit any way to send the datagrid to email body ? below is my code. [CODE]Public Class Form1 Dim oLapp As Object Dim oItem As Object Private Sub Form1_Load(ByVal …

Member Avatar for lolafuertes
0
180
Member Avatar for madlan

Hi, I'm trying to create multiple instances of a child form. This form has an event that feeds a string variable back to the parent so I'm declaring it with WithEvents which is declared outside of the Sub - meaning multiple clicks will not open multiple forms. Any idea on …

Member Avatar for madlan
0
96

The End.