20,285 Topics

Member Avatar for
Member Avatar for TheFueley

Hello, I'm having trouble writing to a file. I can open notepad ok, but I cannot write a string to it. What am missing here? TIA. [code=vb] Imports System.IO Module Module1 Sub Main() Dim start_info As New ProcessStartInfo("notepad.exe") start_info.UseShellExecute = False start_info.ErrorDialog = False start_info.RedirectStandardInput = True start_info.RedirectStandardOutput = True …

Member Avatar for TheFueley
0
118
Member Avatar for muhammad ismail

hi every body , i worstly need the method to create secure set up file in vb.net . secure means that i want to create exe file for specific time mean that for one month or two and then it expires. Or it installs on one pc and not on …

Member Avatar for martonx
0
86
Member Avatar for raul15791

Hi, If i need to use many same components in a window form (let say 20 picture boxes or 20 text boxes), which of the method below is more efficient?? 1. Drag and drop the component 20 times. Configure their properties one by one. 2. Declare array of that component …

Member Avatar for raul15791
0
310
Member Avatar for Eyo

Hello , Am woundering if some one knows where can I find good tutorials to know how to start with sql reporting services ... This is my first time to work with them !!

0
62
Member Avatar for sweet cLassy

While Not EOF(hfile) Line Input #hfile, buffer [COLOR="Red"] Data() = Split(buffer, ",") [/COLOR] i = i + 1 With fghStudentInfo .TextMatrix(i, 1) = Data(0) End With Wend i'm new to VB. can someone help me to understand the command? i want to load the data from .csv to my vb …

Member Avatar for sweet cLassy
0
145
Member Avatar for zahraj

hi how to copy or move array to another array [ICODE]for example: Dim arr1 As New ArrayList Dim arr2 As New ArrayList[/ICODE] and arr1 has values ...I want to copy or move all values to arr2 with out use for loop to copy each value help me!!!

Member Avatar for toko
0
108
Member Avatar for iain580

Hi guys, I was wondering if someone could help me?! I am doing a uni project where we have to access and query a MA database. At the moment I have the database accessed and query is working but I'm having some problems displaying the records - I can scroll …

Member Avatar for iain580
0
88
Member Avatar for densman

Hello, i am trying to write an application that will be able to search the local computer for images. Then copy the images path to a textbox and display the picture in a picturebox. Please i need your ideas and help thanks..

Member Avatar for Teme64
0
73
Member Avatar for falcorassassin

Hi guys, I'm trying to write data from an excel spreadsheet to an Access database. When i run my program a message appears saying that the correct number of records have been saved, however when i check my access database no records have been written to the database table. Any …

0
232
Member Avatar for ninjaimp

im trying to create a simple form of saving an image as binary data to a db. i never done work in this area and have never played with 'byte' types Im working fro a tutorial in C and while converting i keep getting the error 'type 'byte' has no …

Member Avatar for Teme64
0
274
Member Avatar for ahmedlibrian

Hi all, Well I am new here in Daniweb. First of all hi to all. I have a small problem but it takes me so long to find out its solution but still no use. Actually I am writing an update query in my vb.net page for my website. Here …

Member Avatar for ahmedlibrian
0
210
Member Avatar for MohitManocha

hello every one. i would like to tell you that i am real biggener so please reply accordingly. any kind of help would be appriciated. i was trying to clean a specific registry key's value through my application. i have added a button now i want that on click event …

Member Avatar for pratik30.ei
0
1K
Member Avatar for raul15791

This may sounds stupid. I'm new to VB.net. My problem is that all the size of my picture box kept running. 1. I'm not sure is it because i set the form's backbgroundimagelayout to "Stretch" and all Picturebox's sizemode to "Stretch Image". 2. When i start my app on another …

Member Avatar for densman
0
209
Member Avatar for archangelzero6

I am writing a program and want to have a a file loaded to be written to a specific location on the drive when an option is selected in a combobox. Here is the code that I have: [code] Private Sub ComboBox5_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

Member Avatar for martonx
0
180
Member Avatar for taylormsj

Hey I need some more help with my program for my mum's indoor childs play center program. I have a database with information about the child, including date of birth in format 01/01/0001. I want the user to be able to click a button say 'btnjanuary' and for a list …

Member Avatar for taylormsj
0
92
Member Avatar for Pacman21

Ok.. Here is my problem.. I have a blank form and I need to add 700 Richtextboxes.. This will act like a table.. It will be 7 Columns with 100 Rows.. Right Now, I know how to make 700 Richtextboxes.. I am using Dim TC as New Richtextbox DIm I …

Member Avatar for Teme64
0
77
Member Avatar for prabu.r

Hai , I am new to this forum as well as to Visual Studio 2005. i need to know all controls in VB.Net and their uses. which site i have to refer? Thank You.

Member Avatar for Teme64
0
70
Member Avatar for arunkp

Friends i need to connect a flash movie with database.As many tutorials say I need a middleware to connect.As i need to run as a vb or c# program which will be the suitable middle ware(as web says php asp vbscript etc can act as middle ware). Please help me …

0
68
Member Avatar for MukeshZ

Hi I am facing logon Failed problem in VB.Net Crystal Reports after i deployed it at client side... A window showing Database name, user name, Server and password I fill it manually still it fails... Can any one help me to sort out this solution... Thanks :)

Member Avatar for maczoon
0
688
Member Avatar for raul15791

Hi, I'm trying to save some images into my Database of my application. Can I know which of the method below is [B]better [/B]and [B]why[/B]? 1. Store only the picture path into the database. Retrieve Picture according to its path. 2. Store the Picture in Database as bytes. Thanks.

Member Avatar for maczoon
0
154
Member Avatar for shahzadhard

Hi I worte this code can any body tell me why its not working Error can be seen in the attached file whis…. Value cannot be null. Parameter name : data source Private Sub btnTotal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnTotal.Click Dim ConnectionString As String = "Integrated …

Member Avatar for maczoon
0
92
Member Avatar for Cardboard Box

Hi I am making a 2D game in vb.net. I have coded it for hours now and have 2 major problems. Ones to do with the map and mentioned in another thread. The other problem is with classes(I think). Would I need a seperate class for my main map, my …

0
63
Member Avatar for srilatha24

My office is developing a password-protected based site with thousands of pages. I'd like to be able to send an email to a client directing them to a particular page within the site. Assuming they are not already logged in, what happens is that they are directed to the login …

0
43
Member Avatar for Pacman21

Here is my problem. I have about 100 Richtextboxes in my Form.. All of them have a persons First and Last name in them.. Is there anyway to make a Find button that if I type in someones name into a textbox that It will find the persons name in …

0
48
Member Avatar for adeelghani

hello to every body im new in the vb language plz kindly help me can anyone tell me how to get the data from comm port by using the vb2005 thanks for replying me thanks

Member Avatar for martonx
0
138
Member Avatar for guest11

Hi all, Can anybody tell me how to retrieve hard drive information in vb.net . I try my best search in google but not getting the appropriate information. Its urgent. Thanks in advance. Regards G_8306

Member Avatar for guest11
0
175
Member Avatar for richboy

hi this is my code for online banking i want to encyrpte the user inputs of code to an xml file that i have created i also want to decrypte the file....below is the code Imports System.IO Imports System.Xml Public Class welcome Dim pincode As String Private customers As New …

0
59
Member Avatar for TaoistTotty

I have a binding navigator which I have not altered from the basic settings. The problem I am having is that the database is set to auto number from 70000, but the binding navigator is starting from 1. Is there a way of getting the binding navigator to also start …

0
71
Member Avatar for winteranghel

Dim generate As String Dim added As Integer Dim addends As Integer Dim sum As Integer Dim zero As String zero = "000" plus.Text = "1" added = Int32.Parse(idrecever.Text) addends = Int32.Parse(plus.Text) sum = added + addends generate = "00000" SqlText = "INSERT INTO Tbl_Items(ItemID, item_name, color, manufacturer, barcode, vendor, …

0
54
Member Avatar for bored4

I really don't have a clue on how to even start this, making a login form. So i've been searching around trying to find others doing the same thing but i haven't found much and what i have found they are using different databases. But here's what i have so …

0
80
Member Avatar for chaz0910

I have two forms. First form has 5 buttons, when all 5 buttons are clicked they should display another form, however depending on which button is clicked different text and images are displayed through a select case statement. However I am not sure what links this to the first form …

Member Avatar for martonx
0
93
Member Avatar for fawadkhalil

Hi all I have datagridview that shows tasks to be done by user.One of gridview column shows priority of task as icon.Now i want to add tooltiptext to icon as "high priority, low priority or medium".

Member Avatar for fawadkhalil
0
118
Member Avatar for G-bot

I am developing a vb.net application that retrieves a recordset from a sql database with a large amount of records (30000 records) I need to process each record separately according to its contents. Is there a way of doing this in a faster method than iterating through each record?

0
64
Member Avatar for jaiprakash15

Dear Friends, Am new to Vb.net and Am working on a project where i have to get the selected text from a word file(Ms word 2007) Please Advice how i can do this.. I have a Created an ADD-IN button in word. I need to get the Selected Text from …

0
82
Member Avatar for shyhigh2002

Hi everyone I need help on writing a small application on sending a simple text sms like TEXT to the PC and it will get into the database (mySQL) to search for the information on it and reply back the result to the user. Please help me on how to …

0
45
Member Avatar for adeelghani

hellow to every body im new user in vb i make a project inwhich take the take the data from mobile modem through comm port can anyone tell me how to get (sen/rec) the data from comm port in vb kindly ans me or replay at [EMAIL="adeel_ghani2003@yahoo.com"]adeel_ghani2003@yahoo.com[/EMAIL] thanks alot for …

0
58
Member Avatar for Pacman21

In VB 2005, I want to be able to make a window and then have a program i already created RUN in the window INSIDE VB 2005.. So for example: I want to be able to make a Window inside VB 2005 and be able to run MS Word.. Is …

Member Avatar for Pacman21
0
109
Member Avatar for mansi sharma

I bound gridview with databse..property Checkbox -true . I have three columns roll,name ,roll. I want that on button_click, roll nos are displayed whose checkboxes are checked in gridview-- SOURCE TAB [code] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"> <Columns> <asp:TemplateField > <ItemTemplate > <asp:CheckBox ID ="chk" runat ="server" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField …

0
51
Member Avatar for jhonnyboy

Hello everyone. I am making a clock in - out program and have a more complex issue on hand. My program asks the user for their name then sends them to the clock in/out form. In the form they press a button which then stores the TIMEOFDAY into a .txt …

0
94
Member Avatar for jhonnyboy

Hello everyone, I have a program that i am working on using more than one Form. The way i am going through forms is by minimizing my first form then showing the other forms. I was wondering if i start the program from a module maybe i can unload forms …

Member Avatar for jhonnyboy
0
164
Member Avatar for jhonnyboy

Hello everyone. I have a small problem. I have a Streamwriter writing things to a file. But when i write more than one thing, the previous item gets overwritten. I.E. Write 1111, Write 2222. 1111 gets replaced by 2222. Here is some of my code: [CODE] Dim fileOut As New …

Member Avatar for jhonnyboy
0
118
Member Avatar for Dawoodelgharib

Greetings, I want to know if I can pan and zoom an Image that is loaded inside a picture box in vb.net. If this is possible, plz can you write the code to do this.. Thank you...

Member Avatar for Teme64
0
93
Member Avatar for pranava

Hi I have got this problem while developing an AddIn for Outlook. I have a code that is developed in VB 6.0. Now, I want to use that code in my VSTO project. But, as we know .NET dont support pointer, this application got many errors. I have searched, googled, …

0
41
Member Avatar for taylormsj

Hey there :) [IMG]http://img.photobucket.com/albums/v374/taylormsj/rascalshelp.jpg[/IMG] I am currently creating a program for my mums business. I have a .mdb access data base with member details. In the screen above, i want to type the ID number into the text box, click search and their data to be filled into the text …

Member Avatar for taylormsj
0
141
Member Avatar for manoj_582033

Hi Friends, I M Working In Vb.net, I Want that, to which form i m opening that must be top,while i don't close that,i could'nt open any other form,for this i m doing [B]topmost=true[/B](Property of form) ,& It 's working also but that is not showing the messages which i …

0
108
Member Avatar for manoj_582033

HI Friends, I m Working In Vb.net ,I m Using Datagridview in My Form, If There are 4 cells in datagridview ,& i have to check the condition that, to which cells user selecting, that is cell 0 or not, how can i Know this Please Help Me .

0
82
Member Avatar for Hsus

Hi... I need to implement multithreading in vb.net....I need to pass a parameter to the function which will be called by the thread...Can someone help me with this?

Member Avatar for jbennet
0
77
Member Avatar for joseph19.k

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim j As Boolean j = True Me.Hide() System.Diagnostics.Process.Start("LSBSTEG.exe") While (j = True) If Diagnostics.Process.GetProcessesByName("LSBSTEG").Length <= 0 Then Dim f As New Form4() f.ShowDialog() j = False End If End While End Sub

Member Avatar for joseph19.k
0
108
Member Avatar for student784

Dear, i want add the new item in combobox at run time,whiout databas. i want user enter the new item in comobox. plese help me

Member Avatar for c0deFr3aK
0
1K
Member Avatar for Siefer

Hello, I am trying to figure out how to generate code from user input. In Visual Studio 2008, Visual Basic I am new to this so I will try to explain the best I can. Thank you. My script always begins with: [CODE]function Init(Quest)[/CODE] Then from here a user would …

0
71

The End.