16,916 Topics

Member Avatar for
Member Avatar for acecombat

I'm recoding an application for work to make it compatible with another application thats been upgraded, and as such I've added a bit more visual appeal with some backgrounds etc. The problem is that most of the forms have several frames in them and have multiple objects bound to each. …

0
47
Member Avatar for acecombat

I'm trying to have VB open a basic 1 line settings text file but I want it (for first time users) to create the file if it doesn't exist, but I can't open the file without getting an error. How do I go about creating this file if it doesn't …

Member Avatar for selvaganapathy
0
1K
Member Avatar for chriscasaje
0
50
Member Avatar for Derice

Hi, there. I am looking links and sources for studying and understand way to navigate around windows directories. This can be easily seen especially during software installation where user is able to change the installation path. Is it related to the CommonDialogAttach.* ? Please give me a helping hand for …

Member Avatar for Derice
0
75
Member Avatar for SubProf

Hello everyone, I have a question regarding the web browser in visual studio 2005. At the moment I have a web browser that navigates to the URL that I have typed into the combobox when the 'GO' button is pressed. I'm wondering is it possible to extract specific links from …

Member Avatar for SubProf
0
83
Member Avatar for Thew

Hello, When I was running some demo applications I've found that I'm getting an exception in the std::list. After some time of debuging I found that the error coms from here: [CODE] bool operator==(const _Myt_iter& _Right) const {// test for iterator equality #if _HAS_ITERATOR_DEBUGGING _Compat(_Right); #else _SCL_SECURE_TRAITS_VALIDATE(this->_Has_container() && this->_Same_container(_Right)); #endif …

Member Avatar for Nick Evan
0
88
Member Avatar for ambarisha.kn

The following program is giving error as follows. please get me the solution how to debug this error. Error: Debug Assertion Failed! Program: ... File: d:\program files\microsoft visual studio 8\vc\include\vector Line: 1556 Expression: ("this->_Mycont != NULL && this->_Myptr != NULL", 0) [code] #include<iostream> #include<vector> #include<deque> #include<list> #include<algorithm> #include<functional> #include "print.hpp" …

Member Avatar for ambarisha.kn
0
171
Member Avatar for RajeshVB6

Hi, I'm having problems with VB 6.0 data Environment. Is there a way to link two connections? Example, I have two vfp database files in different location; I created two connections with commands (query strings). In SQL, I'm trying to link these two by using union join. Is there a …

Member Avatar for QVeen72
0
114
Member Avatar for HelenLF

I am new to Visual Basic so this question may be a bit simple but it has me stumped. I have written some visual basic code where I reference 3 text files in the same directory. When I reference the files as /filename.txt the program works but when I reference …

Member Avatar for selvaganapathy
0
307
Member Avatar for Bomma9

Hi All, I have to develop an application that needs to send a sms to any cell/mobile using a CDMA connection. This application is for an voluntary organisation, which involves in free medical service. I appreciate if any one can help me in this regard. Thanks every one for your …

Member Avatar for Jishnu
0
229
Member Avatar for Jishnu

Hello, I'm using MAPI component to send email messages via VB6. Here's my code: [CODE] Option Explicit Private Sub cmdEnd_Click() Unload Me End Sub Private Sub cmdSend_Click() MAPISession1.SignOn MAPISession1.DownLoadMail = False DoEvents MAPIMessage1.SessionID = MAPISession1.SessionID MAPIMessage1.Compose MAPIMessage1.RecipAddress = txtSendTo.Text MAPIMessage1.ResolveName MAPIMessage1.MsgSubject = txtSubject.Text MAPIMessage1.MsgNoteText = txtMessage.Text MAPIMessage1.Send False MAPISession1.SignOff End …

0
395
Member Avatar for h5nguye

Hi experts, I want to manipulate a line of string in a text file and save the text file as another name. For example: text file name: 110.txt text file contains a string of number: 110 I want to search for that string "110" and increment +1 to 111 and …

0
48
Member Avatar for ahmbil

Can somebody help me to update my Database automatically using Data control(data1). I want to add 1 to all the value of one field so to automatically get the value of that field +1.

Member Avatar for selvaganapathy
0
72
Member Avatar for herrepeder

Hi, I'm using Visual Studio 2008 on Windows XP. How do I play a mono sound of approx 2500 samples over 500ms using ASIO Audio Driver? I'm really stuck on this. I've never used callbacks before, but the ASIO driver does. I need to use ASIO due to latency issues.

Member Avatar for Ancient Dragon
0
85
Member Avatar for jem00

Hey guys, I need to find out the length of wav files so as to set a timer. How do I find the length of a wav file? Thanks, jem00

Member Avatar for selvaganapathy
0
101
Member Avatar for jem00

Hi guys, I'm pretty new to VB and am having a little bit of trouble with scroll bars. I have a text box and I want the user to input a value in there but I also want them to increase the value through a scroll bar or decrease the …

Member Avatar for jem00
0
249
Member Avatar for Arijit Manna

Hi :) Iam preparing a report on VB6. I wish to have my report printed in the DOS mode using a DotMatrix printer. How will I do it, since Iam not working on the command prompt. Is there any way to solve this issue? Are there any general rules irrespective …

Member Avatar for Arijit Manna
0
301
Member Avatar for Metabalistic

Hi, I'm new at DaniWeb. I hope I'm using the right protocol for this forum, but I was wondering: Does anyone know how to tell in VBA which button of a Microsoft Word custom toolbar has been activated? Is there something like an ActionSource property that provides the toolbar control's …

0
48
Member Avatar for Jihad

I have a form where there is image, at the first time it displays the defualt image,when the user uploads image, the new image appears. But when the user get out from this page and get in again and upload another image the same old image is still there. Its …

Member Avatar for Jihad
0
148
Member Avatar for Burret

I'm a beginner and trying to do some code for Excel I want to use String Tank_Level inside the method Sheet2.Tank1.Picture = LoadPicture(Load_Picture) for example like this Sheet2.(Tank_Level).Picture = LoadPicture(Load_Picture) is this possible ? Sub Run_Update_Tank() Dim Grader As Integer Dim Grader_String As String Dim Grader_up As Integer Dim Tank …

0
42
Member Avatar for eviocg

i am attempting to make a youtube video downloader based on the subject of the video. I have got as far as returning the video title and it wont work. It will return the html code of youtubes search API, but then it will not select the correct part of …

0
50
Member Avatar for rajeshkhanna_in

[COLOR="Red"][/COLOR][HI all, I have made a commercial software using vb6.0 and MSACCESS. My problem is even if I protect my .mdb file with a password, the password can be very easily found out by one or the other cracks. I want to further protect my MSACCESS datafile. Is there a …

0
53
Member Avatar for asda71

hii friends plz help me. i m new in VB. I hav a .bat file. i tried executing this file in VB6.0. bt i cant execute tht correctly.u\i tried using shell command Shell("D:\USB\MY FINAL PROJECT\RECOGNIZER\recognizer.bat", 1) i hav to run d .bat file and only aftr the execution of bat …

Member Avatar for selvaganapathy
0
93
Member Avatar for regalla

dear friends, i want to update the table2 field which is same as table 1 field in ms accessdatabase. when ever i enter data in table1, table2 field which is same as table1 field should updated.table1 and table2 are connected to form1, form2 seperately. i request any body, please let …

Member Avatar for regalla
0
307
Member Avatar for eluminx

I've observed and read through numerous threads where users are having identical issues to what I am dealing with. The explorer.exe just continually restarts. I have run Avast, Kaspersky, AVG and a few other scans. AVG seemed to find quite a few things that looked malicious, but removing them did …

Member Avatar for eluminx
0
260
Member Avatar for apuamy

i am working on an application where some test results are received from a serial port and getting stored line by line in a text box.now i have to compare each line with an existing data base( that is with a field of each record )and display interpretation of each …

Member Avatar for apuamy
0
2K
Member Avatar for mariaczi_pl

Hi !!! I have so strange problem... i dont know what i have to do.. Quote from[B] form1.h :[/B] [code] #pragma once #include "Center.h" #include <time.h> #include <windows.h> namespace RCK { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; /// …

Member Avatar for mariaczi_pl
0
175
Member Avatar for tclhacked

what it is, i have saved data on a previous form into the database as words, but then i convert the words into its own unique ID. thus i want to load the data in another form, but i want to load the name of the item, not the ID. …

Member Avatar for anto_nee
0
117
Member Avatar for rrocket

I have a bunch of params: InputParam1, InputParam2, InputParam3, etc... I would like to loop through them instead of writing out code for each one, but am having some issues getting it to work correctly. Here is what I have so far: [code=vb] Dim iCount As Integer Dim objTemp As …

Member Avatar for QVeen72
0
136
Member Avatar for peroberg

[B]Question ONE[/B] I have on and off been using Basic, now VB since “the stone age” long before Microsoft and Windows. However it is only now I enter the issue of using [B]VB6 [/B]and a database. I use VB6-ADO-ACCESS plus using DataGrid as the main view to see the database. …

-1
54
Member Avatar for andy999

Hello all, I am currently using excel vba to create Broker.Application which helps to transfer the data from a text file i.e opfile.txt to a charting programe, so that the chart shows the data in continuous way. Here is the vba code: Sub testAB() On Error Resume Next Set ab …

0
65
Member Avatar for kartik14

Hi, I want to use a function from a different file in the main method of another file. Both the files are in the same visual studio project. I used the extern "C" keyword in the foreward declaration of this external function in the file containing the main method but …

Member Avatar for vijayan121
0
147
Member Avatar for suneel kar

dear all and my frnds, i wanna read data from a notepad and view after readin in output should be like in attached .prn.Plz revert as soona s possible. with regards suneel

Member Avatar for suneel kar
0
78
Member Avatar for herrepeder

Hi, I am using Visual Studio 2008 with .NET, on Windows XP. Does anyone know how to (in C++): *Recieve a trigger signal(1bit) from an external device, ie throught a generic microphone input(jack). * Play/stream a 1D table of raw data(double/long) as an audible sound throught the sound card. Assume …

Member Avatar for herrepeder
0
258
Member Avatar for sal21

I dont know if existis a way in VB classic, to enumerate or inventory listing, all server of my LAN and get info based service installed similar:Sql, MySql, DB2...ecc Sorry me for stupid question...;-)

Member Avatar for sal21
0
145
Member Avatar for anitha joe

Hello, I have created a web form and I want the contents to be mailed to my mail id. The code works fine if launched in local server that visual studio provides. The code is written using C#..When I try launching it in my office server, the following error msg …

Member Avatar for ericstenson
0
100
Member Avatar for umakamma

hi everybody, i,m uma.joined the forum newly.plz help me.i have written a program in vb6.the problem is i'm unable to calculate the monthly total of a biweekly magazine.i have written the code.the problem is the totals are displayed 0 .i'm unable to understand what to do.plzzzzzzzzzzzzzzzzz help me.

Member Avatar for Prathvi
0
77
Member Avatar for joeyan

Hi all, I am a newbie of .NET c# programming. I just take over a Data Recording System which use Visual Studio. NET 2002 (C#) to built a PC-based application, and use Ms Access 2000 as database. I need to enhance a existing Windows Form that add more fields for …

Member Avatar for Ramy Mahrous
0
76
Member Avatar for geetajlo

Hi i really need code to back up an access database. Am using visual studio 2005. i have to submit my project next week.. please help me. I want to place the code in a button back up..

Member Avatar for Jx_Man
-3
597
Member Avatar for veledrom

Hi, How do went SMS text message to a mobile phone in VB6? Does anyone have any example for it? Thanks

Member Avatar for debasisdas
0
58
Member Avatar for richo.mw

Hi There, I am experiencing a very weird problem with a visual basic.net program I am creating. The app uses an access database. Note: I am an Australian user so use date format dd/mm/yyyy Problem: my frmMain has a list box that retrieves a list of date values from the …

Member Avatar for richo.mw
0
167
Member Avatar for komodo891

Here is my problem... I am developing a portion of my website to sell my floor plans online. I have an access database linked to a Datalist that displays a thumbnail elevation and some basic info about that plan. What I am having problems with is once a person clicks …

Member Avatar for srikanthkadem
0
608
Member Avatar for colliincon

Hi I have this coding Set recc = dbase.OpenRecordset(True, "Gate") nfilenum = FreeFile Open "C:\Rentention Program\20080517.daf" For Input As nfilenum With recc .MoveFirst Do Until .EOF Do While Not EOF(nfilenum) If EOF(nfilenum) = True Then GoTo ws: Open "C:\Rentention Program\20080517.daf" For Input As nfilenum Else End If Line Input #nfilenum, …

Member Avatar for selvaganapathy
0
170
Member Avatar for Catherinedally

I'm stuck with a problem and can't work it out. I'm needing a visual basic . net program written. What I've worked out is... Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim linecount As Integer Dim asteriskcount As Integer Dim asterisk As String Dim spacecount …

Member Avatar for selvaganapathy
0
236
Member Avatar for faust_g

The following code works fine with "Release" config, but gets this odd "HEAP_CORRUPTION_DETECTED" error when I try to execute in the "Debug" config. I am using visual studio 2005, default settings. Also, I looked into deleting multi-dimensional objects, and it appears I am doing it correctly here ([url]http://www.daniweb.com/forums/thread6511.html)[/url]. Pretty simple …

Member Avatar for faust_g
0
351
Member Avatar for jacobpauls

using System; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Http; public class Server { public static void Main(string[] args) { // Create the server channel. HttpServerChannel serverChannel = new HttpServerChannel(9090); // Register the server channel. ChannelServices.RegisterChannel(serverChannel); // Expose an object for remote calls. RemotingConfiguration.RegisterWellKnownServiceType( typeof(RemoteObject), "RemoteObject.rem", WellKnownObjectMode.Singleton); // Wait for the user …

Member Avatar for majestic0110
0
440
Member Avatar for cellus205

Hows it going everyone. Im trying to compare two tables, and display the rows that are not in both tables in a DataGrid. Im using Visual Basic 2008, and created a query in the TableAdapterManager, but when I try to call the query, it is not displaying the results. Shows …

Member Avatar for cellus205
0
139
Member Avatar for ovesh

Hello, I am a java developer (with a few years experience). I have just been assigned my first C# project. So far I have only written UI in java (Swing), coding by hand. I have found this to be easy and manageable. When I opened Visual Studio (not for the …

Member Avatar for Ramy Mahrous
0
112
Member Avatar for paul1145

[code] Maybe it doesn't exist but any help would be greatly appreciated I'd like to simply save a current playlist to my own directory not WMP1's directory I don't want to mess with WMP1's default directories Private Sub Create_a_PlayList(ByRef songs() As String, ByVal name As String) Dim listCollection As IWMPPlaylistCollection …

Member Avatar for paul1145
0
229
Member Avatar for ambarisha.kn

Hi, I dont know much about Standard template library(Vectors, Lists, Deque). I want to do one Program which is as follows. Write a program to create a data bank which holds the operator and operands of arithmatic/relational/bitwise(etc.,) operations. (Use STLs) The no. of operand fields(input and output) is variable depending …

Member Avatar for ithelp
0
95

The End.