16,916 Topics
![]() | |
Hi all, I try to read file from file.. i put the file at drive D:\test.txt Please help me.. Thanks. Best Regards | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
My question is we have to use one text box,using this how to enter multiple values like Bill entery! | |
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 … | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 … | |
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? | |
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? | |
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 … | |
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 … | |
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 … | |
I 've the Activex Control the name called StyleButtonX.ocx ,How to insert into components. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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", … | |
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 … | |
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() … | |
how can i fetch the 1_attdat.log file from the time attendance machine into my local drive ? | |
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, … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … |
The End.