20,285 Topics

Member Avatar for
Member Avatar for tahir_77

I have VS 2008 on Win 7 Professional 64bit system and database is Oracle 11g r2 installed on the same machine. In Data Source Configuration Wizard --> New Connection Data Source: Oracle Database (Oracle Client) When I click Test Connection after entering Service name, username, and password I get the …

Member Avatar for tahir_77
0
64
Member Avatar for mogaka

I have developed a system which should be accessed remotely. the system reads sql credentials from a notepad file to authenticate to the remote sql server. however, when trying to connect, the system says: "request for odbc permission failed". but if i put the application on the client machine together …

Member Avatar for adam_k
0
100
Member Avatar for masterjiraya

I have a form called Form1. wherein Form1 has a split panel container. on the right side of Form1 is a web browser window. the right side are the buttons. one button there is calling another form. but there's a problem on this Form called Form2. I have google earth …

Member Avatar for adam_k
0
211
Member Avatar for fereak

Hello, I'm trying to implement the SHA1 hashing algorithm in VB.NET. (Pseudocode [URL="http://en.wikipedia.org/wiki/SHA-1#SHA-1_pseudocode"]here[/URL].) In particular I don't quite understand this line: [CODE]'break chunk into sixteen 32-bit big-endian words w[i], 0 ≤ i ≤ 15 for i from 16 to 79 w[i] = (w[i-3] xor w[i-8] xor w[i-14] xor w[i-16]) leftrotate …

0
105
Member Avatar for amjad shah

please help me. when i add control or make changes in code at runtime these changes does not updated to my project.

Member Avatar for danielgr
0
121
Member Avatar for masterjiraya

I have 2 forms right now Form1 and Form2 the default setting start up is Form2. Inside Form 2 there was a button that will release the Form1 button using Form1.Show(). I have now the problem. What I want to do now is to close the Form2 without closing the …

Member Avatar for Mitja Bonca
0
201
Member Avatar for mogaka

I have developed a system which should be accessed remotely. the system reads sql credentials from a notepad file to authenticate to the remote sql server. however, when trying to connect, the system says: "request for odbc permission failed". but if i put the application on the client machine together …

0
45
Member Avatar for Sinduja Arun

hi... im not able to update data in vb.net....here is my code: cmd = New SqlCommand("update tbl_Account_charts set AccountTypeid='" & cmbAccountType.Text & "',AccountNumber='" & TxtAccountNumber.Text & "',AccountName='" & txtaccountname.Text & "',Status='" & chbmark & "',UpdateDate='" & sys_date & "' where AccountTypeid=" & AccountID, con) cmd.ExecuteNonQuery()

Member Avatar for pixma
0
113
Member Avatar for danielgr

Hi, I wasn't sure where to post this, but thought it may save some time for someone who ran into the same problem. I had a problem in a project, where whenever I clicked the "Accept" button on a form, it would close the form for no reason. Originally, I …

0
107
Member Avatar for yousamook

hi all, I am working with vb.net 2010 SQL express 2008 and ReportViewer. I have created a form that a user can add, edit and delete data which is all stored in an SQL db. I am printing out reports for the user with ReportViewer. The issue I am encountering …

Member Avatar for pixma
0
3K
Member Avatar for bigzos

Hey,i am working on a module in vb 10..i have to retrive data from the database between two dates...i have used the following code but not able to get ny output,,nt even an error [code] Imports System.Data.OleDb Public Class Form4 Dim con As OleDbConnection Dim cmd As OleDbCommand Dim dr …

Member Avatar for pixma
0
201
Member Avatar for mrbungle

Like the title says, I have about 10-15 rows in a local dataset. I need to take any one row, and make it the "default" (on a button click), meaning to take that row and stick it right at the top so it comes up first. I've been up and …

Member Avatar for mrbungle
0
2K
Member Avatar for y2kshane

i have a XML file that temporary stored data from the DB. i have DataSet that reads from the XML file and fill the DataSet. i want to set this Dataset as data source to ReportViewer in runtime

Member Avatar for y2kshane
0
84
Member Avatar for scrypt3r

i decided to make a download program, i have a form 2 textboxs n a button, i looks somin like this Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click My.Computer.Network.DownloadFile((TextBox1.Text), (TextBox2.Text)) End Sub it aint workin cos of ` A valid address should include a protocol, …

Member Avatar for Slotes
-1
142
Member Avatar for rosstafarian

Hi guys, Im starting a new project this week for my computing course and to be honest - i didnt like my last one as it had many forms which i thought was quite tacky. So i had a thought, how can i use for example, 1 or 2 forms …

Member Avatar for rosstafarian
0
149
Member Avatar for chabo

I am developing windows form application on my laptop....but running my project on Desktop or laptop becomes different looks. how do i make it to be the same no matter the screen resolutions? i just need my project look same in all small or big screen resolutions. any help plzzz??

Member Avatar for kvprajapati
0
72
Member Avatar for rEhSi_123

Hi Guys, After trying to port a C++ program which was a console application where it crawled the forums with the url provided and in the end stored the result inside a database for further analysis. Now, with very limited time I have decided to replicate this in vb.net as …

Member Avatar for rEhSi_123
0
119
Member Avatar for kosay

hi all can anyone help me to start build removal tool ??? any exambel I need removal tool detect malware by its MD5 but the problem is scan function I make function add sub files to list box and each file calculate its MD5 and when MD5 = malware MD5 …

0
47
Member Avatar for georges-louis

dear all, I'm trying to find out how to pass a parameter to a predefined parameter in a dataset. I've found everywhere a solution if you build the sqldata adapter and the dataset in the code. Then you can pass the parameter like: da.SelectCommand.Parameters.Add("@param1", SqlDbType.Char).Value = param1_variable (as example) But …

Member Avatar for georges-louis
0
189
Member Avatar for dwinn

Hello, I was wondering if somebody could help me... I have created a user login page for my website in VB.Net and ASP.Net. At the moment, a user logs in with a username and password that has been hardcoded in to my script. I now need to take it further …

Member Avatar for dwinn
0
152
Member Avatar for kerek2

Hi Alls, Really need your help. I'm trying to list all text file in Application Startup path folder in combobox but cannot...can anyone help?.....In Application Startup Path folder i got more than 3 .txt file. So i want to list out in combobox...please help me..thank you

Member Avatar for codeorder
0
2K
Member Avatar for uchendu korie

I am a final year computer science student and i was confronted with this topic: Design, development and implementation of an efficient Bandwidth management system. i code with Vb.net and microsoft SQL 2008 as my database engine. honestly i've not written such application before, so i need a guide how …

Member Avatar for codeorder
0
171
Member Avatar for Reverend Jim

I would appreciate a snippet of code for adding groups at run-time to a listview. I am currently listing books (and stats) without groups via the following code which is executed in a loop (one pass per book title). [code] item = New ListViewItem item.Text = seq.ToString item.SubItems.Add(Mid(titlenode.Nodes(N_CSTAT).Text, 3)) item.SubItems.Add(Mid(titlenode.Nodes(N_JSTAT).Text, …

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

Hi, I will be developing a program using visual studio 2008 with ms access 2007 as my database. What I only use is this type of connection string: [COLOR="Red"]"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mydatabase.mdb;Jet OLEDB:System Database=system.mdw;" [/COLOR]but i was asked if it is possible to put the database in sharepoint and I haven't even …

Member Avatar for pixma
0
996
Member Avatar for Misheki

I have a working code that exports the datagrid into XLS. However, the datagrid results does not show on my aspx (html) page. It only shows on the page when I comment out the part that exports it to xls. I am not sure whether it should show by default …

Member Avatar for Misheki
0
186
Member Avatar for unika010690

ive already get the previous date but i dont know how can skip the weekend date.. example,,i run the application on monday the generated data must be the date on friday,,it must skip tsaturday and sunday,,i cant find similar problem in net,,plllzzz help...

0
166
Member Avatar for aimboter89

Dim myArray() As Integer = {a, b, c, d, f} Dim largest As Integer = Integer.MinValue Dim smallest As Integer = Integer.MaxValue For Each element As Integer In myArray largest = Math.Max(largest, element) smallest = Math.Min(smallest, element) 'myArray(largest).Remove() '(this part have error, as it stated that is not part of …

Member Avatar for sandeepparekh9
0
329
Member Avatar for BillyMagic
Member Avatar for Naveed_786

Dear all, Can any one tell me how can i take bakup on Every minute and hourly and complete whole day backup using VB.NET i.e i want to know the coding example Thanks in advance

Member Avatar for debasisdas
0
413
Member Avatar for kipslem

Hello, Could someone help me with this question that I need to complete within 4 days? I have a problem with the insert statment on the code below. This code is working fine by inserting the ststement, but the problem is that the DATE is not being inserted into the …

Member Avatar for Pgmer
0
330
Member Avatar for ritesh2190

i need to count the no of instances of a word in a string using vb.net i can do the usual way as my problem is a little different for eg i need to count the no of occurrences of -> in tree_ptr->sub.another->valu=3;

Member Avatar for codeorder
0
141
Member Avatar for Start4me

Hello everyone! I'm just a beginner in vb.net. I need to make a save button. The user will work in main form. User also has Settings in the MenuStrip, when the user clicks Settings a new form will open. There user has ability to make changes that will affect the …

Member Avatar for adam_k
0
314
Member Avatar for Netcode

Hello everyone! Am trying to retrieve data from sql server based on two columns. Its a web application being developed using VS2010 (vb.net) but i keep getting the error: incorrect syntax near '=' Here's my code below: [CODE]Sub GetBasicMidwives() ' Set the SelectCommand properties... With objDataAdapter .SelectCommand = New SqlCommand() …

Member Avatar for Netcode
0
148
Member Avatar for gmadeira

Hi, folks. Need some help to develop a method/function. No problem if there is no code but I would like to start discussing the best way of doing this even in high level language. First of all would like to provide you with some information. The set that I use …

Member Avatar for gmadeira
0
104
Member Avatar for msterbin

friends i am new in vb.net -i have a webbased proj. What i need is to connect the vb.net app to an sql server via internet. My projects run fine in a standalone pc. what conn. String should i use to finish my proj? tnx for your concern.

Member Avatar for debasisdas
0
69
Member Avatar for lolsn0r

Hi everyone I have a question about vb.net I have a textbox textbox: 145|145 145|859 146|745 and so on .... I want to make my program do this: if I execute the button it must do this: it must take each line of the textbox apart. then split that line …

Member Avatar for codeorder
-1
165
Member Avatar for jvjvjv_

I am have been trying to teach myself ASP.NET and Javascript for a project and have been stuck on one problem for literally dozens of hours now. I found a really nice javascript drag-and-drop list online, copied the source offered and split the css into a .css file, the javascript …

0
119
Member Avatar for heavy.is.happy

Hello! My first post here. I have a problem. I want to make a Windows form that it's exist a button, and if you click that button, then the mouse cursor will move to a choosen X and Y coordinates and after that the cursor will click left or right. …

Member Avatar for heavy.is.happy
-1
4K
Member Avatar for Eekhoorn

I'have this litle piece of code which worked nice under windows XP and Windows Vista but won't do a thing under Windows7. I use it to store link adresses to apllications I wish to hoock up to. Basicly I first select a apllication with a "Open File Dialog" and then …

Member Avatar for adam_k
0
252
Member Avatar for winkler

Hi Some background: I'm trying to create a Server/Client Sync scenario for my application using Sync Services for ADO.NET specifically the LocalCache custom tool which sets the whole thing up for me. My server DB has 5 Tables, all of which are being synchronized to the client application, which now …

Member Avatar for winkler
0
158
Member Avatar for dre-logics

I use Visual Basic 2008 I use bound Datagridview I use mysql database If i run this code, everything on the screen ( in the datagridview) [COLOR="Green"]neatly Updated[/COLOR]. But when I look at records in the table [COLOR="Green"]"stock"[/COLOR] always the first row (0) of the DataGridView [COLOR="red"]not updated [/COLOR]in the …

Member Avatar for vishalrane
0
262
Member Avatar for y2kshane
Member Avatar for kapil.goyal

how i can check any text string in a doc file.the searchinh should be fast as i have to do other code if it found the string

Member Avatar for vishalrane
0
482
Member Avatar for leo88

Hi, look into codes below: [CODE] Sub Main() Dim tmr As New Timers.Timer tmr.Interval = TimeSpan.FromMinutes(5).TotalMilliseconds tmr.Start() 'Do function End Sub [/CODE] As my program above, i set the time interval to every 5 minute which it will do the function. However, after 5 minites it does not affect any …

Member Avatar for leo88
0
1K
Member Avatar for y2kshane

i want to detect if listview has been updated eg: there are listview1,listview2 and a button1 .u can send items to listview2 from listview1 .if the listview2 has an item button1 will enable if the listview2 is empty button1 will disable what is the suitable event for this?? (there is …

Member Avatar for Unhnd_Exception
-1
2K
Member Avatar for Xcelled194

I am replacing an AutoHotkey script with a VB.net application. Part of the script involves sending keystrokes to an active application. VB uses SendInput and does send the keystrokes, but the application doesn't "get" them, but when AutoHotkey sends the same key to the same application, it works. I have …

Member Avatar for paulobuchsbaum
0
831
Member Avatar for bluehangook629

Hey guys, As you can see below I am trying to add row of data to a table called tblOut. When i execute the code, it works without a single error message but the problem is I dont see any new record when i preview my table data. Can anyone …

Member Avatar for bluehangook629
0
182
Member Avatar for Netcode

Hello everyone! Please am developing a web application using vb.net with visual studio 2010 and .NET framework 4.0. its complete but i want it accessible over the network (LAN) so i have tried to host it on the local server (IIS) but i keep getting the following error message from …

Member Avatar for Netcode
0
103
Member Avatar for Saikumar Adep

I am working with application for Excel sheets in vb.net My database is Sql server 2005 I am having around 8 lakhs of rows in my database and 64 columns. when I import a excel sheet for searching the Duplicate of excel sheet rows in database i get this Error …

Member Avatar for debasisdas
0
195
Member Avatar for deva.v

Hi, How to write into excel sheet using oledb connection or how to export dataset into excel sheet using oledb connection. Iam using console application in vb.net. If there are any alternate ways to write into the excel files from dataset.

Member Avatar for sandeepparekh9
0
3K

The End.