16,916 Topics

Member Avatar for
Member Avatar for VDigital

Hello, Can anyone please tell me step-by-step on how to use the FV function in Visual Basic 2008? I'm stuck & I have no clue. Oh, and can you please explain using those exact variables :) I get confused when other examples use different names in their procedures. So far, …

0
52
Member Avatar for mnewsome

I am a total beginner that happens to own a copy of visual studio pro 2005. Would like to get a glue as to how to get the basics and advance myself. Is there anything on the daniweb site to guide novices to at least get a concept of how …

Member Avatar for mnewsome
0
77
Member Avatar for is2kid

hey everyone, i am doing a group project for varsity and we are trying to get an online help going using treeview. we have created it along with a separate panel with some labels. wat we would like to do once we have selected a child node is to set …

Member Avatar for vb5prgrmr
0
77
Member Avatar for Israelsimba

[B]i enter text into a text box, when i move to the next textbox, the text i entered in the other text boxe disappears.....this started when i run form after linking my text boxes with the necessary database items.. i used an adodc for connection. before connecting the textboxes i …

Member Avatar for abu taher
0
107
Member Avatar for Eko

Hi guys , In Visual Studio 2005 I compiled the following code [CODE] int main() { float a; a=0.1; if(a<0.1) { printf("C\n"); } else { printf("C++\n"); } } [/CODE] I was very surprised when I saw the output C++ . I got the warning C4305 :" '=' : truncation from …

Member Avatar for dwayneb
0
5K
Member Avatar for rjrodrig

Hello Everyone, I am having some problems with VB using MSComm. I have some hardware I developed and the firmware instructs the MCU to send data via serial port to a PC. The data stream must not stop, and for one reason or another I can't send data to the …

0
78
Member Avatar for rsk_beckon

Dear All I want to develop an application to compare 2 input text file and show the difference with highlighted text in the first file itself. Please assist how to do it Or any readymade software is there for effective file comparison. Regards Sasikumar

Member Avatar for debasisdas
0
154
Member Avatar for coollife

dim hwnd as long I am using FindWindow function to find whether Internet Explorer is open or not . hwnd = FindWindow(vbnullstring,"Google - Microsoft Internet Explorer") the problem is it easily find most of the windows , but in few cases for example if i type something in google search …

Member Avatar for marco93
0
124
Member Avatar for adam1991

Ive just created a login system using a tutorial, but it doesnt say how to protect the admin page, just logs you in.. Here first is my HTML, Login form [CODE]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="login.aspx.vb" Inherits="login" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> …

Member Avatar for guru_sarkar
0
114
Member Avatar for mnemtsas

Here's possibly the single most useful function that I use. It simply takes an ADO record set and dumps the column names and row values into an Excel worksheet. To use it make sure you have Excel marked in your project references.

Member Avatar for chad0809
1
547
Member Avatar for devmakwana
Member Avatar for xirosen
Member Avatar for Afi83

Hi there I have a database in access for using from VB6. In my access file I use many relationships. I use something for doing back up of my database frequently for preventing data loss. Every year many data added to this database (app50000). For maintaining the program at the …

Member Avatar for omoridi
0
180
Member Avatar for xirosen

Good day.. Can everyone help me pls.. i have created a code to create nodes in treeview and i am done with this. my problem is how can i view children's text on the treeview as well as the image when i click the parent? here is my code. Private …

Member Avatar for omoridi
0
184
Member Avatar for coollife

My project is Internet Explorer Blocker which blocks all websites apart from what i have mentioned . Its working fine, now as the user should not be able to close the vb application For that to happen the application should not be visible . So for the what is the …

Member Avatar for omoridi
0
228
Member Avatar for jatinder_44
Member Avatar for omoridi
0
97
Member Avatar for gothic1989

hi everyone!! im ren, im in my 4sem. and i required to make a project in my major. using VB6.. and that was supposed to be cafe client/server. can someone help me how to make a cafe client/server? im just a newbie in VB6 so i don't have any idea …

Member Avatar for omoridi
0
74
Member Avatar for xWiredx

here's my connection string for database over network.. for security purposes i put a password on my database... then for additional security i put a password on the shared folder... but i dont know the code to how open it... [CODE]"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\warehouse-encod\Database\WI.mdb;Persist Security Info=False;Jet OLEDB:Database Password=thankyou"[/CODE] please help.. badly needed.. …

Member Avatar for vb5prgrmr
0
84
Member Avatar for A.Najafi

Hi All, The problem discussed is accuracy of numeric calculation result,in vb. Namely I compare a numerical mathematic calculation, Line-Plan Intersection, in VB.Net and Matlab 2007 the intersection point result specify in below: Matlab 2007 ----> Xint=2.000000000000000 Yint=1.333333333333333 Zint=0.666666666666667 But Visual Studio 2008 ----> Xint=2.0000000596046448 Yint=1.3333333730697632 Zint=0.66666668653488159 Hand Calculated -----> …

Member Avatar for A.Najafi
0
125
Member Avatar for DCV

I have an assignment in which I am supposed to manage a linked list of "players" in a hockey "roster." That's not the issue... problem is, I'm trying to make the function in which a new player is added, and I can't even call it. It results in a LNK2019 …

Member Avatar for dkalita
0
150
Member Avatar for TechSupportGeek

Hello guys, it's me again :) This time I want you to show me a way to hide the Windows taskbar in Visual Basic 2008. To be more specific, I created a button in my application that says "Enable Full-Screen". The code I used so far in order to make …

Member Avatar for TechSupportGeek
0
2K
Member Avatar for leokuz

The macro below works, however I do not know how to make the removal of the paragraph marks (second portion of this macro) apply only to text it pastes, rather than to all existing text in the document. As it is right now, this macro pastes and then removes all …

0
62
Member Avatar for abu taher

[CODE]Sub QryReport() On Error Resume Next Dim QryDef As QueryDef Dim str As String Set QryDef = dbase.QueryDefs("balancesheet") dbase.QueryDefs.Refresh If Err.Number = 3265 Then Set QryDef = dbase.CreateQueryDef("balancesheet") dbase.QueryDefs.Refresh End If str = "select * from [balancesheet]" & _ " where Date ='" & Dtpicker.Value & "'" QryDef.SQL = str …

Member Avatar for abu taher
0
146
Member Avatar for EntangledDesi

If I have a form that is to resemble a standard dialog box that prompts for a name and I need to display the name on the main form when the main form is first run, how do I do that?

Member Avatar for EntangledDesi
0
96
Member Avatar for triumphost

Yes I know its a long code and it will get longer but there is a compiler error in the [COLOR="Green"]int main ()[/COLOR] First Visual C++ 2008 Express edition error [QUOTE] ------ Build started: Project: MAC ADDRESS, Configuration: Debug Win32 ------ Compiling... MAC ADDRESS.cpp warning C4603: '_WIN32_WINNT' : macro is …

Member Avatar for triumphost
0
771
Member Avatar for Sphero

Hello, I created a new maskedtextbox and gave the mask property the value 000.000.000.000, which should act as an IP address box. Now, when I open my configuration panel and configure my IP address, it jumps to the next mask while pressing the . key. Is there any way to …

0
44
Member Avatar for dre-logics

I have Visual basic 8.0 and use Statusstrip . whenever I change the [COLOR="Red"]height to 50 [/COLOR]will change automatically changed back to default. What am I doing wrong I go to properties of Statustrip1 Size Width = 616 Height = 22 I change to Size Width = 616 [COLOR="Red"]Height = …

Member Avatar for TomW
0
442
Member Avatar for jp071

Hi, I want to split a char string. We can use “strtok” function for split a string by using token. But in my problem, there is no specific separation/token between each value. The data directly come from an external device through the serial port. I used “ReadFile” function to read …

Member Avatar for iamthwee
0
112
Member Avatar for Krondorl

Greetings, I have a workbook that has 600+ rows of information. I want to iterate through all the rows and copy sections from that sheet to a new workbook that is created on the fly. The following code is what I am using to attempt this, but the .Range line …

Member Avatar for AndreRet
0
204
Member Avatar for HelloMe

hello guys im just doing a pos project and i wanted to ask how to print a receipt. im so far that i can sell items and display the change money...but after that i need a receipt to be printed. Can u maybe give me an idea how to do …

Member Avatar for AndreRet
0
123
Member Avatar for sanam

hello I send to items to Microsof t word with this code: [code] Dim wdApp As Word.Application Dim oDoc As Word.Document Dim oRange As Word.Range 'Create new hidden instance of Word. Set wdApp = New Word.Application With wdApp ' Show this instance of Word. .Visible = True .ScreenUpdating = False …

0
49
Member Avatar for UmH

hi , i'm new in programming world i want to write c++ class in c it was ok .. when i change to c++ i've problems [CODE] #include <iostream> using std::cin; // using std::setprecision; using std::cout; using std::string; using std::endl; // using std::streamsize; class STD1{ int id; string name ; …

Member Avatar for dattu mhaismale
0
171
Member Avatar for Nerrisa

How can one update automatically the tables in Ms Access such that once you input an item it is automatically viewed to other tables that are related to that particular table in relationship and the methods used to link Ms Access contents to Visual Basic Interfaces created according to the …

Member Avatar for vb5prgrmr
0
116
Member Avatar for xirosen
Member Avatar for abu taher
0
135
Member Avatar for ochambo

Hi, I'm new to this programming stuff and I'm going through Beginner's Guide by Herbert Schildt. In Module 4 Critical Skill 4.1 Use one-dimensional array. #include<iostream> using namespace std; int main() { int sample[10];// this reserves 10 integer elements int t; // load the array for(t=0; t<10; ++t) sample[t] = …

Member Avatar for Dave Sinkula
0
144
Member Avatar for jagz

I have an arraylist in which i have stored structures. Now i store the arraylist in a session and pass the it to the nextpage. I am having trouble trying to figure out how to get the strusture values out of the arraylist and store in database.....???? Anyone who knows …

0
97
Member Avatar for krokodajl

Hi, how can I make docking mechanism known from the Visual Studio in WPF. Is it hard to achieve? Is there any simple example of dockable windows? I found one on codeprocject, but that example is not very simple. regards

0
63
Member Avatar for hery

Hello, when i input to database show error cannot convert type varchar to type numeric.. I' m using convert(numeric, quantity). Where my quantity is empty. Please help me. Thanks

Member Avatar for manoshailu
0
114
Member Avatar for black3

I was wondering if it is possible to write a program in C or C++(maybe even Visual Basic, as i m more experienced with that programming language) to convert a .wav file into bytes and save the same file as a text file. I am a Visual Basic programmer and …

Member Avatar for Troy III
0
167
Member Avatar for ismailc

Good , I need help. I have a blank aspx page where I want to add a drop down down from a sql database and get selection of dropdwon value. Coding in Notepad & not in Visual Studio I tried this example [url]http://www.webconcerns.co.uk/asp/combo/combo.asp[/url] that uses javscript but it connect to …

0
55
Member Avatar for yorro

How come when I load my project on Visual Studio 2008, it shows a MySQL error:[B] Unable to connect to any specified MySQL hosts.[/B]? then another error: [B]Access denied for user[/B] I am not yet running the application.

Member Avatar for yorro
-1
92
Member Avatar for sjcomp

Hello, This is not a c++ question per se, but I do not see a better forum to ask it. I have a binary executable (compiled with Visual Studio C++ 2005) and the source code for this file. I need to change a constant, but for various reason I do …

Member Avatar for William Hemsworth
0
790
Member Avatar for smileyc

Hi. I am using visual studio 8, using vb.net. I am trying without success to make a post request to a web form as shown below. [code] <?xml version="1.0" encoding="UTF-8"?><postBetOrder xmlns="urn:betfair:games:api:v1"marketId="2568540" round="1" currency="GBP"><betPlace><bidType>BACK</bidType><price>2.5</price><size>2.50</size><selectionId>658440</selectionId></betPlace> [/code] I encode the information using 'HttpUtility.UrlEncode' and I use 'myWebRequest.ContentLength = bytedata.Length' to get the length …

0
60
Member Avatar for Nickair

Hi i am looking for a good C compiler for windows vista. I found Visual Studio C++ 2008 express edition, will this work if im writing in c?

Member Avatar for Nickair
0
103
Member Avatar for phuanon

I needing a program increase/decrease a day every 5 second or 1 min for clock system I use date function to set day but I so weak in timer function :) and 1 loop fuction to when it to day 30 it will return 1 thk:)

Member Avatar for phuanon
0
119
Member Avatar for EntangledDesi

The InputBox function needs to be used in a command button to prompt the user for a number. I know that the syntax is ([I]prompt, title[/I]), where[I]prompt[/I] is the message you want displayed inside the dialog box [in this case - "Enter a number"], and [I]title[/I] is the next you …

Member Avatar for EntangledDesi
0
99
Member Avatar for leokuz

I am having this MS Word macro which works well, but not fine. It replaces word [COLOR="Green"]Street[/COLOR] to [COLOR="Green"]St[/COLOR] which is the way I want, but it changes STREET TO ST (I need St), etc. However, I need them changed as follows: Street or STREET to St Avenue or AVENUE …

0
56
Member Avatar for Vampdee

I have a really stupid question: In my job, once in awhile I have to perform maintenence on a client's website. I work for a small business so I don't have much staff to rely on, hence my post. I also do a plethora of other activities that have nothing …

Member Avatar for vuyiswamb
0
146
Member Avatar for RousebyWolfCA

Excel 2007: Within a Macro I did the following: 1: an autofilter on a specific column w/specific criteria Question/Request: I want to do a do loop starting with the 1st row of the filter and ending with the last row of the filter. Example: 'Set Filter Range("AF1").Select Selection.AutoFilter ActiveSheet.Range("$A$1:$1X$44489").AutoFilter Field:=32, …

0
49
Member Avatar for djohnson82

Every time I write a code using Visual Studio for my C++ class, I keep getting reference linking errors and I dont know how to fix it. I have attached the code and the error that I keep getting. [CODE]// Fig. 3.7: fig03_07.cpp 47 // Instantiating multiple objects of the …

Member Avatar for djohnson82
1
87

The End.