16,916 Topics

Member Avatar for
Member Avatar for november_pooh

Hi all, I try to read file from file.. i put the file at drive D:\test.txt Please help me.. Thanks. Best Regards

Member Avatar for Jx_Man
0
356
Member Avatar for ujjankpapua

dear member of daniweb... yesterday i install ms visual studio 2010.. i tried to run my c# project,, but then a warning shown up said : error while trying to run project: could not load file or asssembly "my application" or one of its dependencies. the modul was expected to …

Member Avatar for abelLazm
0
41
Member Avatar for vaq

Here's the DLL I've compiled in VB6: [code]'--------------------------------------------------------------------------------------- ' Module : cNtPEL ' DateTime : 30/06/2009 06:32 ' Author : Cobein ' Mail : cobein27@hotmail.com ' WebPage : http://www.advancevb.com.ar (updated =D) ' Purpose : Inject Exe ' Usage : At your own risk ' Requirements: None ' Distribution: You can …

Member Avatar for t3rmin4t0r
0
695
Member Avatar for Jaseem Ahmed

[CODE]Option Explicit Private con As New ADODB.Connection Public RS As New ADODB.Recordset Public RS1 As New ADODB.Recordset Public cmd As String Dim ExlObj As New Excel.Application Private Declare Function GetSystemMetrics Lib "user32" (ByVal Index As Long) As Long 'Public Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y …

Member Avatar for gsatya
0
290
Member Avatar for asadaziz

I am working on visual studio 2008 what i want to do is read till the end of the file the code i am using is [CODE] StreamReader ^sr= gcnew StreamReader("example.txt"); String ^str; while(sr->Read()!= 0) { str=sr->ReadLine(); textBox2->Text=sr->ReadLine(); MessageBox::Show(str); } sr->Close(); [/CODE] what could be used inside while condition that …

Member Avatar for MattyRobot
0
1K
Member Avatar for irisadaf

In the name of God my IDE is visual studio 2010 (c#) I want to create 3 threads for 3 sort(bubble sort,quick sort & merge sort) to show which function sort quickly? for showing this I make 3 array of buttons(for every func. 1 arr) & I want to sort …

Member Avatar for Wegginho
0
206
Member Avatar for Jaseem Ahmed

heloo... i want t o develop a data report in vb 6. i have genetared some reports, whose allo fields are from one table.. now i have a table, in whicnh two tables will be datamember.. ed. Sales mancode,Salesman name will come from table one. sales, Empty Return will come …

Member Avatar for reygcalantaol
0
98
Member Avatar for vinothmca
Member Avatar for Jx_Man
0
68
Member Avatar for toferdagofer

i am writing a decryption program that reads a file from another project solution and decrypts it then writes it to a new file in its own project folder. For some reason when i try and read the file in the program says that file doesn't exist. Im pretty sure …

Member Avatar for Moschops
0
161
Member Avatar for MoZo1

Ok, so I want to port my code to windows mobile, and I'm looking for a tutorial. I would like compatibility with WM5, and WM6 is a must. So I'll use the embedded whatever. I've got Visual Studio 2k8 and the 3 addon required to do the job. I've also …

0
149
Member Avatar for virusisfound

how to disply last enter data of a particular name like table name = abc contents in the table : 1.abc 2.pqr 3.abc 4.xyz now in visual studio i want to search last enter data of abc

Member Avatar for virusisfound
0
160
Member Avatar for anwars94

Its me Anwar, I want to create an desktop application for stock maintain. In vb-6 or vb.net. How can perform better from these? Plz. guide and help me in this matter. Thanks! wainting Anwar

Member Avatar for Momerath
0
83
Member Avatar for igho

I TRY TO MAKE CODE COUNTER WITH CODE [B]MR/IR/001[/B] IN MY APPLICATION USING VISUAL BASIC 2008, BUT WHEN THE CODE GET [B]MR/IR/999[/B] IT`S STUCK AND NOT INCREASING, I WANT TO MAKE THE CODE INCREASE TO : MR/IR/1000 MR/IR/1001 MR/IR/1002 MORE AND MORE ... FOR DATABASE I`M USING MS ACCESS 2007 …

Member Avatar for igho
0
194
Member Avatar for androidz

Hi guys its me again i have another problem this is related on my previous topic which is making a label during run time. Now that i have learned how to make a label at run time i also made a textbox during run time which is the same concept …

Member Avatar for androidz
0
3K
Member Avatar for guyinpv

I've got a funky situation here that I think a script could solve, but I'm no good at scripting Excel, so there! It's Excel 2007 btw. My online store exports a CSV of orders along with the line items of the order. To accomplish this, it outputs one row as …

Member Avatar for Reverend Jim
0
162
Member Avatar for Sturdy

Hi all, I'm New to VB 6. I want to select a file from the directory like another applications. How i can do that?

Member Avatar for Sturdy
0
5K
Member Avatar for wilko1995

Hi all, I have this .vb script but i want to be able to open it without going through Visual Studio 2008. What file extension would i use so i am able to run it without VS2008?

Member Avatar for Oxiegen
0
70
Member Avatar for Michaelkim

Hi All!, here's my problem. i'm working with Visual basic 6 and microsoft Access 2003 database. I use ADO objects for connection and manipulation of the database. In my database there are 3 tables .2 tables(Customers and Events) are the parent tables and 1 table(Orders) is a child table.The order …

Member Avatar for dspnhn
0
404
Member Avatar for Neil_W

Hi Everyone, I am making the jump from vb6 to VB.Net, so if you find some of my questions naive, please bear with me. My current problem is that I am working in Visual Studio 2005 and have created a Windows application. In the application, I have 1 data set …

0
49
Member Avatar for cindy s

hi guys, im having some trouble here and cant figure out what im doing wrong. i have a vb6 program linked to a ms database and im running queries and returing the results in a listbox on the same form. here is what i have: [CODE]Private Sub cmdSearchauthor_Click() Dim strSearchFor …

Member Avatar for dspnhn
0
191
Member Avatar for vinothmca

I 've the Activex Control the name called StyleButtonX.ocx ,How to insert into components.

Member Avatar for debasisdas
0
43
Member Avatar for ashwinshenoy

Hi All, I am trying to update my form once the delete button is clicked. There are several fields like Name, Date, Date of Birth and so on. Once I delete a record I want the form to automatically load with new / updated data. This form fetches data from …

Member Avatar for Animal Mother
0
673
Member Avatar for bondi007

I have recently started a new unit in college called Event Driven Programming, I eventually changed campus and not many teachers here know alot about Visual Basic. I can create simple programs and I am getting my head around the syntax but some questions in the assignment are quite confusing …

Member Avatar for Jx_Man
0
134
Member Avatar for Dean_Grobler

Hey C# people, Sorry for my topic title, I honestly didn't know what else to call it. I'm a Java developer and I'm looking into learning C#. I've read up a bit on it but I'm rather confuzed (as expected)... 1) Firstly, in java you can choose to use an …

Member Avatar for ddanbe
0
353
Member Avatar for aquamarine_kath

I have fields UserID, Status and etc. The status of the user will be either active or inactive. I want to count how many UserID of Active users only. I have a code here but it's not working..It says "Invalid or Unqualified reference". Can you please help me check this …

Member Avatar for aquamarine_kath
0
138
Member Avatar for kitjo

2 Days Ago different datatable update i have a big problem yet ihave to present this project on monday my database which i have to present next week. i have tried to play with the codes but still it has failed to retrive and update data. i need a code …

Member Avatar for debasisdas
0
105
Member Avatar for Jaseem Ahmed

i am facing a very litle problem... i have one treeview control, it have 5 nodes, whenever i m clicking 2 or 3rd node, it expend 1st node, and after that it expend the selected node.? what to do?

0
64
Member Avatar for Suzie999

I've been working on a project for a while, which for my convenience is a console app. The time is nearing where I will be needing to add forms to it, so what I'm after here is any advice on things to consider and look out for, before I do …

Member Avatar for gusano79
0
2K
Member Avatar for DeannaF829

Hi everyone, I am new to this board. I am trying to figure out how to set up an SQL statement to grab a record from a database when I'm not sure what column/field the string I am looking for will be in. for instance: I am looking for "ABCDEFG", …

Member Avatar for debasisdas
0
95
Member Avatar for Alexkid

Hi there, I think im trying to do something pretty simple but i can't find a simple explanation. What i have: I have five Textboxs (1 to 5) I have a Button I have a Datagrid with five columns (1 to 5) What i want to do: on a button …

Member Avatar for Alexkid
0
173
Member Avatar for shena

Hi all, I want to send an email to people in the database field list. How to accomplsh that? My code is straight forward and also found an error saying: "the transport failed to connect to the server". Please help. [CODE]Private Sub From_Load() Call SendEmail End Sub[/CODE] [CODE]Public Function SendEmail() …

Member Avatar for debasisdas
0
295
Member Avatar for MoK482475

how can i fetch the 1_attdat.log file from the time attendance machine into my local drive ?

Member Avatar for Harshasr8
0
89
Member Avatar for Kontext

I am currently writing a program that uses OpenGL and so it uses the include file: #include <GL/glut.h> Now when I try to compile and run the program I get this message in the error folder: "fatal error C1083: Cannot open include file: 'glut': No such file or directory" Lastly, …

Member Avatar for daviddoria
0
251
Member Avatar for babafemi

hey hello my name is babafemi from nigeria. please something has been bothering me for a while. that is, the simplicity that microsoft is bringing to the world of programming. here is my view. someone spends years learning how to hard code, sleepless nite learning how to build applications from …

Member Avatar for Knvn
0
114
Member Avatar for Khaldoun Latif

Hello.. anybody can help me by telling me the code to insert a row to a table in database in visual basic 2010 please please

Member Avatar for debasisdas
0
65
Member Avatar for Terminator_Null

Hi. I am new to VB (and coding in general) and I'm wanting to make a check digit generator. To do this I need to take the a user text input and split it into individual digits so that I can then calculate the check digit. I'm just not sure …

Member Avatar for debasisdas
0
101
Member Avatar for P.manidas

Dear Sir/Madam, I have created a sample program that dynamically created up to 7 numbers of Labels and Text Boxes. Here I want to add those numbers inputted by user on dynamically created text boxes. I have tried a lot but all are in vain. Please guide me to solve …

Member Avatar for P.manidas
0
404
Member Avatar for Jaseem Ahmed

i have table in sql server 2000, in whicn i have coloums. now on the interface i have one text box as customercode, and four (4)combo boxes with differnt values. when user wants to do entry, he will enter any code, and will select values from combo boxes, and when …

Member Avatar for Jaseem Ahmed
0
171
Member Avatar for ddanbe

I mostly use Console or Forms applications in VS for my projects. Did anyone among you ever use an Empty Project when starting a new one? Well, it is as clean as you can get with Visual Studio! The world is at your feet! I use it mainly to test …

Member Avatar for ddanbe
2
969
Member Avatar for GaidinDaishan

I am just starting MS Visual Studio 2005. My laptop has a 64 bit Intel microprocessor and the OS installed is 64 bit Windows 7. I created a DLL in VC++ 2005 using a Export Definitions File (.def) and then created an application on VB to test it. The entire …

Member Avatar for Ancient Dragon
0
267
Member Avatar for dmatos

Hello all, When trying to export save a file i get the following error in my SaveDialog window: The bold line is where the error occurs, says: Object Required [CODE] Dim eRuta As String On Local Error GoTo errores 'dialog.DialogTitle = "Exportar Archivo" cDialog.Filter = "Excel File (*.XLS)" cDialog.FileName = …

Member Avatar for debasisdas
0
133
Member Avatar for Mike Bishop

i have the following code [CODE] Dim i As Integer i = Me.GridDomains.CurrentRow.Index Me.lbdomainid.Text = GridDomains.Item(0, i).Value [/CODE] when i have complied it in visual studio 2010 (debug) i get a error saying system.data.sqlclient.sqlexceptions conversion faild when converting varchar value LBdomainID to data type int. in sql the datatype is …

Member Avatar for hercx
0
76
Member Avatar for shena

Hi experts out there, I'm using ms access to store a date value in (dd/mm/yyyy) format. This field too stores text value something like e.g: N/A. When user selects a date (dd/MM/yyyy) via dtpicker, i want the datagrid to be filtered by that date if it found in that date …

Member Avatar for BitBlt
0
168
Member Avatar for lukemuller

Hey guys, I've been having a bit of trouble with my c++ program i'm trying to create for an assignment. I'm still learning, but array's seem to give me the most trouble. I've been reading and searching google alot to try and find examples to help my situation, but i'm …

Member Avatar for lukemuller
0
2K
Member Avatar for Suzie999

Hi I'm wondering if anyone can think of a generic reason why visual studio 2010 would act in the following mannor. If I run my code using ctrl + F5 (run without debugging option) it works fine and as expected. However if I run it in debug mode it acts …

Member Avatar for Suzie999
0
57
Member Avatar for babbu

Visual studio 2005 and access 2007. Autocomplte textbox is not displaying results. Here is my code [CODE] txtname.AutoCompleteCustomSource = m_namesCollection; m_namesCollection.Clear(); if (!String.IsNullOrEmpty(txtname.Text.Trim().ToString())) { m_search = txtname.Text.Trim().ToString(); foreach (DataRow cust_dr_autoloop in m_dt_Customer.Rows) { if (cust_dr_autoloop["cust_name"].ToString().StartsWith(m_search)) { m_namesCollection.Add(cust_dr_autoloop["cust_name"].ToString()); } } } [/CODE] I have set the autocomplete mode to suggest and …

Member Avatar for sandeepparekh9
0
117
Member Avatar for Ravenn

hi:) i'm writing a windows form program that controls 4 stepper motors, using visual studio express 2010, c++ i'm using a for loop that has to cycle for up to 1200 times. it works well enough but it's kinda slow and, when it's connected to my hardware and given more …

Member Avatar for jonsca
0
254
Member Avatar for P.manidas

Dear Sir/Madam, I want to know two things here.. 1. Can we create object variable on Run time? 2. Can we store one object variable's data (Object) into another object variable? Please guide me sir/madam. Because, i have no idea in this regard.

Member Avatar for P.manidas
0
225
Member Avatar for coolpintud

dear all Friends i need to make one application so plz help me quickly as possible and i am very Thankfull if direct give me code or project file because i am no more knowledge of vb6 i have one application have one exe and many other files like graphics …

Member Avatar for coolpintud
0
259
Member Avatar for Resentful

As many of you know, GOCR is a common Optical Character Recognition software that can be implemented into almost any programming language. You must convert the image you wish to convert into a PNM file and then proceed to call the executable OCR file. I cannot find any conversion methods …

Member Avatar for HookDevil
0
236

The End.