20,278 Topics

Member Avatar for
Member Avatar for automata

I am trying to read the matrix (please see this link [URL="http://www.clcbio.com/scienceimages/img8.png"]http://www.clcbio.com/scienceimages/img8.png[/URL]. This matrix will be in text based file. How can I read this file and create a matrix and fill it in my code. The other question I have is that the matrix has first row and column …

Member Avatar for ohsosexy
0
94
Member Avatar for Dimansu

Hi, I have an IIF function in my textbox expression.This is my code. IIF(IsNothing(Fields!Duration.Value) , "Not released ",Int((Fields!Duration.Value/12)).ToString()+ "Y " +(Int(Fields!Duration.Value) Mod 12).ToString() + "M") But when Duration is null the true expression doesnt work instead it displays "#error".Can anyone help me to fix this? Thanx in Advance

Member Avatar for kvprajapati
0
150
Member Avatar for Bold Eagle

I have the following code: tb_Job_No.Text is a combobox This is the code [code] Public Sub RepCD_process() ssql_Job = "SELECT * FROM Rep_Dist" ssql_Job = ssql_Job + " WHERE (Job_Number = '" & tb_Job_No.Text & "') " Dim Main_Form As New Main_Form With Main_Form .DC_Reps.Open() .DS_RepDist1.Clear() .DA_RepDist.SelectCommand.CommandText = ssql_Job .DA_RepDist.Fill(.DS_RepDist1) …

Member Avatar for lagspike
0
271
Member Avatar for davydick

Hi I have newly installed VB 20008 Express. What extras do I need to have to allow me to create standalone exes? This for giving to fellow model railway club members and not for commercial use. Thanks Davy

Member Avatar for Dukane
0
71
Member Avatar for TofiLuk

Hi I have a problem with this code. I'm trying to save a values in the database.. When I click the save button the table is being updated and showing the new values I entered. But the problem is it is not actually saved in the database, when I re-run …

Member Avatar for TofiLuk
0
121
Member Avatar for jackiejoe

I am trying to move through a list "TodaysCard" and print the TimeOfDay.ToString into the first column of every row and to only create the amount of rows that are needed. But am a bit of a novice when it comes to this and can only get it to display …

Member Avatar for jackiejoe
0
104
Member Avatar for امة الرقيب
Member Avatar for muthuivs

Hi Guys/Gals, I am writing a program that needs the user to scan in documents using either adobe or the software provided by the scanner makers (such as travelscan pro, etc). My program needs to have have button that says "SCAN DOCUMENT", and when it is pressed I need the …

Member Avatar for kinwang2009
0
375
Member Avatar for RSP86

When running the code the data does not save within the data base there are a few errors with in the code if someone can give the code a look over, that would be great thanks in advance.

Member Avatar for RSP86
-1
78
Member Avatar for nokesc

I'm somewhat new to .net programming but I have an ok background in development. I'm just trying to write a simple vb.net app that can make system calls but I get this . . . System.Security.SecurityException was unhandled GrantedSet="<PermissionSet class="System.Security.PermissionSet" version="1"> I have no idea how to give my app …

0
35
Member Avatar for Zandermander

Hey guys, i'm working on a program, kind of like a download manager. I have a background worker set up that handles the download, and it works great the first time, but the second time it just sits and times out. [code] Function DL(ByVal sURL As String, ByVal pProgress As …

0
68
Member Avatar for j_808

Hi, i want to know how i would go about updating a row on a datagrid. with the data being databinded in the text boxes and the fact that i can move through the records using the databind techniqu. I have tried through trial and error and still havent got …

Member Avatar for drewpee
0
69
Member Avatar for needanswer

This project is to load same form to managers, and the managers will start this same forms to manage a job. 1. How can you load the same blank form to different managers? 2. This form has the datagridview, textbox, combobox, how do you save the values to the tables …

0
51
Member Avatar for jonniebl

I am writing a program that loads a web page then get data from the page for calculations. I can navigate to the web page but the code does not wait for the page to completely load before proceeding. I need a way to have the program wait for the …

Member Avatar for jonniebl
0
255
Member Avatar for j_808

Hi all, just having problems with my next, previous, last and first buttons on my form. there not working but i am not sure where i am going wrong because i am a beginner. When i press any of the buttons it says 'there is no row at position 1' …

Member Avatar for j_808
0
102
Member Avatar for 0xbadcode

Hello mates, I want to dig deeper on WebBrowser Control programming, I searched in Microsoft's MSDN for advanced WebBrowser Control, But I didn't find the one that I want to take-up, It's about Converting Web Objects to its own type, let's say Flash Embed object to type of Flash will …

0
70
Member Avatar for rajb1

[I]<<split from [URL="http://www.daniweb.com/forums/thread245564.html"]here[/URL]>>[/I] Hello is it possible someone could post code that does the above in VB - i can't find any on the net - it's all in c# - which has some functions i can't seem to translate to VB such as cellpainting!!! Thanks

0
31
Member Avatar for mshdpotato

How can I get the value of the year, month and/or day from the DateTimePicker if I'm trying to compute for the age? I've tried [CODE] Dim x As String = "" x = Date.FromOADate(Val(DateTimePicker1.ToString)) MsgBox(x) [/CODE] But it only gave me 12:00 AM. and [CODE] DateDiff(DateInterval.Year, DateTimePicker1, Now.Date) [/CODE] …

Member Avatar for drewpee
0
88
Member Avatar for shrighead

[code] Dim da2 As OleDb.OleDbDataAdapter Dim cols As Integer = Attendance_QueryDataGridView.ColumnCount Dim rows As Integer = Attendance_QueryDataGridView.Rows.Count Dim a(cols) As String Dim dt As New DataTable("Attendance") da2 = New OleDb.OleDbDataAdapter(sql, con) da2.Fill(ProjectDataSet, "Attendance") Dim NewRow As DataRow NewRow = ProjectDataSet.Tables("Attendance").NewRow For z = 0 To cols - 1 a(z) = …

Member Avatar for shrighead
0
173
Member Avatar for flushfire

I am trying to send keystrokes to a window/s that is not in focus using sendmessage. Finding the window's handle using its name is simple enough, however what I want is to get the handle by clicking on the window or puting that window into focus (whichever is easier) bec. …

Member Avatar for flushfire
0
148
Member Avatar for j_808

i am trying to add a edit button where the data displayed in the textboxes from the selected record in the datagridview on vb gets update if i change any details when i press the edit button. problem is when i click the button it says 'There is no row …

Member Avatar for j_808
0
89
Member Avatar for kacebaza

hi i've got proble with my code, crystal report wont show data here is my code " [code] Try Dim path1 As String = constring '" '' path '' for normal ADO Concept '' The current DataSource is an ADO '' change path of the database rpt.DataSourceConnections.Item(0). _ SetConnection("", "" …

-1
44
Member Avatar for GowriJai

I have created a Cryatal Report and set its Access database(.mdb) during design time. I have imported the crystal report into VB.NET. now i want to know how can we set the database path during runtime. The database to which i've linked will change its path and name every year. …

Member Avatar for kacebaza
0
116
Member Avatar for adrianSigamoney

I would like to find all the "About" files of all programs stored on my hard drive. If you open a program, click on help and select "About". It provides the name, version and date written etc. I would like to extract and store in DB. The store in DB …

Member Avatar for kvprajapati
0
60
Member Avatar for Dorayaki

Hello... I want to ask how to change text from richtextbox/textbox ? For example I have the sentences "The bird fly away" I want to change it into [COLOR="red"]Fly [/COLOR]bird [COLOR="red"]the [/COLOR]away I tried some code like this [CODE]TextBox2.Text = TextBox2.Text.Replace(Fly, The) TextBox2.Text = TextBox2.Text.Replace(The, Fly)[/CODE] it become The bird …

Member Avatar for kvprajapati
0
154
Member Avatar for hiz460

Hi, Im trying to add a code which adds a record for me and then saves it. I am also trying to add a code which deletes the record for me. So far, my "Add" button, clears the form, which is what I want. Then when I click on save, …

Member Avatar for hiz460
0
232
Member Avatar for hiz460

Hi, Im trying to add a code which adds a record for me and then saves it. I am also trying to add a code which deletes the record for me. So far, my "Add" button, clears the form, which is what I want. Then when I click on save, …

Member Avatar for hiz460
0
191
Member Avatar for Artgenos

We use Netmeeting alot where I work and to make life easier I am trying to write a program that will find the machine name, IP address and MAC address with just a login name. Right now I can get the IP address from the DNS entry. But I am …

Member Avatar for peter_budo
0
137
Member Avatar for 0xbadcode

Hello mates, I want to dig deeper on WebBrowser Control programming, I searched in Microsoft's MSDN for advanced WebBrowser Control, But I didn't find the one that I want to take-up, It's about Converting Web Objects to its own type, let's say Flash Embed object to type of Flash will …

0
136
Member Avatar for xfrolox

To Read and Write [CODE]#Region "API Calls" Private Declare Unicode Function WritePrivateProfileString Lib "kernel32" _ Alias "WritePrivateProfileStringW" (ByVal lpApplicationName As String, _ ByVal lpKeyName As String, ByVal lpString As String, _ ByVal lpFileName As String) As Int32 Private Declare Unicode Function GetPrivateProfileString Lib "kernel32" _ Alias "GetPrivateProfileStringW" (ByVal lpApplicationName As …

0
64

The End.