19,728 Topics

Member Avatar for
Member Avatar for bpacheco1227

I need to load the contents of a text file (itemInfo.txt) into a list box, I am on the wrong track, can someone please help. [code=VB] Public Class MainForm Private path As String = "L:\Visual Basic\SequentialHW\" Private Sub MainForm_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load itemListBox.Items.Clear() itemListBox.Items.Add(path …

Member Avatar for Cherrielane
0
2K
Member Avatar for jeffersonalomia

Ive save my image on the resources folder abd i want to load picture on picbox... i used this method image1.load(Application.startUpPath+ "\sub" & 1 &".png" my problem is that.. there is an error on my location What is the perfect way of constructing that statement

Member Avatar for Mr.M
0
146
Member Avatar for Mr.M

Hi Dw Is there anyone know how I can retrieve contacts from my cellphone connected via usb using vb.net? I want to be able to read and perhaps write back contacts to and from a cellphone. Any idea, book, reference, guide towards achieving this? Thank you.

Member Avatar for Mr.M
0
198
Member Avatar for yvrej17

Does anyone knows how to print 2 or more pages in Reportmax rpm file? I already tried playing with possible codes in reportmax preview but I can't get the right output.. It always display the 1st page. Thanx a lot in advance.

Member Avatar for Begginnerdev
0
69
Member Avatar for shilu2

'------------------------------------------------------------------------------ ' <auto-generated> ' This code was generated by a tool. ' Runtime Version:4.0.30319.17929 ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' </auto-generated> '------------------------------------------------------------------------------ Option Strict Off Option Explicit On Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.ReportSource Imports CrystalDecisions.Shared Imports …

Member Avatar for Santanu Das
0
1K
Member Avatar for shilu2

I am trying to show data on datagridview but error occurs Form1.vb code is as below Imports System.Data Imports System.Data.Sql Imports System.Data.SqlClient Imports System.Data.SqlClient.SqlDataReader Imports System.String Imports System.Configuration Imports System.ComponentModel Public Class Form1 Dim con As SqlConnection Dim cmd As SqlCommand Dim dr As SqlDataReader Dim da As SqlDataAdapter Public …

Member Avatar for shilu2
0
489
Member Avatar for xuexue

Hi! I am doing the programming on my computer and it works fine-the program, the database itself, inserting to the database is also working fine. But when I publish it and install the program on another computer. It crashes and does not execute the `INSERT` command. Here is my code. …

Member Avatar for xuexue
0
304
Member Avatar for xuexue

So here's the error in the Event Viewer. Application crashes when inserting data to the database. DAtabase: AS/400 iSeries DB2 Faulting application name: 242-CEWE.exe, version: 1.0.0.0, time stamp: 0x542a2ac6 Faulting module name: MSVCR80.dll, version: 8.0.50727.6195, time stamp: 0x4dcddbf3 Exception code: 0xc000000d Fault offset: 0x00022b5c Faulting process id: 0x12ec Faulting application …

Member Avatar for xuexue
0
183
Member Avatar for Dudestreet

Hi Team, I understand that there are numerous number of Articles with the following Title and I should have gone through them before posting but believe me, I've done it all. Either way, I'm not getting to a solution. Hope I get some help here.. # So Here is the …

Member Avatar for oussama_1
0
294
Member Avatar for gil.nickson

Im having a problem here, i dont know where to start, im just a begginner i already finished my window forms in visual studio and now i want to connect it to my ms access database, i dont know what to do. Please help.

Member Avatar for Santanu Das
0
241
Member Avatar for Deep Modi

Hello guys, I want to know how to convert the JPG file into the WAD file ? the thing is not common as all. its not about to change extension, I need it to convert it as like "HI tag Converter" or "Decal Converter" or "wally" tec... I just google …

Member Avatar for Deep Modi
0
3K
Member Avatar for gbhs

Hi to all, I have to preview dataset data using printdoc and my code is below. Upon clicking the Preview button the preview dialog displays fine with data. when I close the preview dialog then click the preview button the data is not diplayed. weird behavior to me. what should …

Member Avatar for Santanu Das
0
547
Member Avatar for fugio

hi all, I'm using to ComponentOne tools I used to control c1schedule create appointments I created a form similar reminder and have difficulty showing appointments in form, more than one appointment appears in a day how to get selected appointments in c1flexgrid ? if I add three appointments, the display …

0
88
Member Avatar for rathiikk

hello sir,good morning am creating one pos software ,i have done all my designing and coding its working fine in my system ,i kept my db in inside debug-->bin section but after created as a software application and when am using any other system it is showing the db path …

Member Avatar for Mr.M
0
227
Member Avatar for hemendar4

How to create reports in visual basic 2010 express with mysql as database please tell me the whole process as I am very new to it and tried by several ways and places but always failure please help

Member Avatar for Santanu Das
0
209
Member Avatar for AliGulSoomro1

I am desiging a Form in which I am asking user to enter: Name in Textbox1 ID Card Number in Text2 here i want to code for textbox2 that it accepts only numbers and "-" but don't know how to control. Can anyone help me?

Member Avatar for J.C. SolvoTerra
0
910
Member Avatar for Santanu Das

I am now in a problem to prompt user at the first run of my program. The Server is msSql Server 2008 R2 and Plaform vb.Net 2010. At the time of starting, the program starts to search the file, where the ConnectionString is saved. If it get then well else …

Member Avatar for Santanu Das
0
226
Member Avatar for docfnt

I've built several user/custom controls in the effort of saving space on my UI main screen. Slide in/Sliode out, collapsable controls save a lot of space on the screen for Art/Design programs. My nightmare is that I hit the same wall every time. I can't get a control to activate …

Member Avatar for docfnt
0
190
Member Avatar for ignnniter

Progressbar not updating :'( please help. Private Sub ftpupload() Dim ext As String = Path.GetExtension(NsTextBox1.Text) Dim fname As String = Path.GetFileNameWithoutExtension(NsTextBox1.Text) Dim request As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create("ftp://xxx@xxx.org/" & fname & ext), System.Net.FtpWebRequest) request.Credentials = New System.Net.NetworkCredential("xxx@xxx.org", "xxxxxxx") request.Method = System.Net.WebRequestMethods.Ftp.UploadFile Dim file() As Byte = System.IO.File.ReadAllBytes(NsTextBox1.Text) Dim strr As System.IO.Stream …

Member Avatar for J.C. SolvoTerra
0
489
Member Avatar for Krutika06

hey everyone i am new to vb.net program. I am currently working on a pizza ordering system. what i am doing is i am populating a combobox with pizza names from the menu datagridview. What i want to do now is to select the row that has the corresponding pizza …

Member Avatar for Santanu Das
0
162
Member Avatar for jeffersonalomia

Can someone help me solve this problem: 1)How can i insert every word of label.text to array 2)How can i check if the word that i type on textbox is equal to every word on label.text

Member Avatar for Mr.M
0
133
Member Avatar for rianbattle

We have a Zebra QLn420 label printer and I am writing a .Net application to allow the user to scan an item, process it through our system, create a shipping label, then send it in a .ZPL file to the Zebra label printer. Where I'm running into trouble is getting …

Member Avatar for cgeier
0
1K
Member Avatar for fabio.bozzo

I re-post a thread which many others submitted times ago, but never got solutions or good answers! I re-new the challenge :) [url]http://www.daniweb.com/forums/thread226795.html[/url] The last post gives an idea. Another is here [url]http://www.daniweb.com/forums/thread104261.html[/url] I mean: editable dropdown boxes autocomplete function works with a so builded filter: LIKE 'string%' what WE …

Member Avatar for Santanu Das
0
8K
Member Avatar for rathiikk

hi sir, when i adding items into the listview ,i have added serialno and 5 other columns ,so whenever i adding new item the serialno will increase one but my problem is when i removing a row from listview how to rearrange the serial numbers pls help me

Member Avatar for tinstaafl
0
105
Member Avatar for amvx86

Hello everyone, So I have a quick question. Back when there was something written by BoFen and it was called codegenie and I have a copy of it and i've been using it with some success. What I'd like to know is are there any good api spies that generate …

Member Avatar for amvx86
0
304
Member Avatar for xuexue

Hi! I want to display a table in the Local Report using SQL Connection. Parameters will be user-defined. Example. sqlSearch = "SELECT * FROM shipment WHERE " & port & " BETWEEN @datePerformedFrom AND @datePerformedTo ORDER BY recno DESC" `@datePerformedFrom` and `@datePerformedTo` will be supplied by the user. Please help …

Member Avatar for xuexue
0
419
Member Avatar for xuexue

Hi! The for loop works and it reads the value of `recno()`. However, the sql code itself is being executed once only. Is there any tweak I need to do for DB2 iSeries codes? For k = 0 To recno.Length - 1 sqlUpdate = "UPDATE shipment SET status=@status WHERE recno=@recno" …

Member Avatar for cgeier
0
264
Member Avatar for Sebastian_1

I have a app, that requires login with SQL server as backend. I have users who are on laptops and not always connected to the network. I want a way to check for the SQL server, and if it does not exist then roll over to local auth for local …

Member Avatar for Sebastian_1
0
172
Member Avatar for wizardkp

Dim lines As String() = IO.File.ReadAllLines(FILE_NAME) If System.IO.File.Exists(FILE_NAME) = True Then For i = 0 To lines.Count - 1 Dim userkey As String = System.IO.File.ReadAllLines(FILE_NAME)(i) If key.Text.Contains(userkey) Then 'shows many msgs at once i want to show only one msg MsgBox("Thanks for registering ") Else End If If Not key.Text.Contains(userkey) …

Member Avatar for Reverend Jim
0
175
Member Avatar for inthink

i dont understand with these codes below. nkata = Asc(Mid(skata, i, 1)) + 65 nkunci = Asc(Mid(skey, i, 1)) + 65 nenc = ((nkata - nkunci) Mod 26) splaint = splaint & Chr((nenc) + 65) please someone help me!!

Member Avatar for inthink
0
86

The End.