16,916 Topics

Member Avatar for
Member Avatar for ichiban1985

Hi All, I need to create a macro that will copy the data in the last 5 columns of the spreadsheet and paste it to the next 5 columns, also I need to have a pop up that will let me add date to the heading of the new inserted …

Member Avatar for AndreRet
0
109
Member Avatar for ash07

Dear all I am developing an application in VB & Access .I am trying to secure application by adding user control,trace modules,database password. (just today i saw how to make a folder inaccesible+ not to allow delete.) 1)I would like to know how do i secure my application.. am i …

Member Avatar for AndreRet
0
157
Member Avatar for slugdoug

I am trying to learn vbscript and am having trouble with one of me first scripts, can someone look and see what I am doing wrong? I get the following error: Line 13, Path not Found. 'if folder B does not exist it is created option explicit const OverWriteFiles = …

Member Avatar for AndreRet
0
104
Member Avatar for gingank

Hi All, I want to ask how to remove unwanted character from string?? Can provide an example? Dim A As String A = "@AA@BB@CC@DD" If i want to remove @BB what method i should use? First i try to use instr to detect where the @BB but how to do …

Member Avatar for jhai_salvador
0
235
Member Avatar for ftl25

Hi, Does anyone know of some code analysis tools (add-ins) for VB6? I used to use checkstyle and some other tools for Java, and am looking for something similar for our VB6 project. There is a huge codebase, and as I'm just starting out in VB coding, I'd like advice …

Member Avatar for IssamLahlali
0
1K
Member Avatar for mgonzalezwec

How do I specify the default SMTP host within Visual Studio 2005 or within a web project in Visual Studio 2005? I realize this can be done in the web.config file, however I don't want to do it at that level (I would rather it be done at the machine …

Member Avatar for mgonzalezwec
0
207
Member Avatar for SaberExcalibur

I'm using 2005 visual studio. I have made a windows application, using visual basic language along with crystal reports. My crystal reports function well whenever i run it within the unpublish project but the time I published the project the crystal reports always fail. Because it can't find the RPT …

Member Avatar for Luc001
0
165
Member Avatar for ajst

Hi guys and girls, I've decided to pick up C++ again after not using it for 2 nearly 3 years. I've been programming in java and c# in the mean time so my understanding of programming is very good. I've been trying to make a pack of cards but for …

Member Avatar for ajst
0
361
Member Avatar for masterfact18

[CODE]Form3.Adodc1.RecordSource = "select * from login where username = '" + Text1.Text + "'" Form3.Adodc1.Refresh If Form3.Adodc1.Recordset.EOF = False Then If (Text2.Text = Form3.Adodc1.Recordset.Fields("password")) Then MsgBox "login success" Unload Me Else MsgBox "invalid pasword" Text1.Text = "" Text2.Text = "" Text1.SetFocus Form2.Refresh End If Else MsgBox "invalid username" Text1.Text = …

Member Avatar for peter_budo
0
155
Member Avatar for masterfact18

[code]Form3.Adodc1.RecordSource = "select * from login where username = '" + Text1.Text + "'" Form3.Adodc1.Refresh If Form3.Adodc1.Recordset.EOF = False Then If (Text2.Text = Form3.Adodc1.Recordset.Fields("password")) Then MsgBox "login success" Unload Me Else MsgBox "invalid pasword" Text1.Text = "" Text2.Text = "" Text1.SetFocus Form2.Refresh End If Else MsgBox "invalid username" Text1.Text = …

Member Avatar for abelingaw
0
290
Member Avatar for AWPROGRAMMER

I want to simulate the enter key when my form opens so that it can continue it processes without the user having to push the enter key or selecting OK with the mouse. I know the question is then why have the form at all. I did not write the …

Member Avatar for AndreRet
0
206
Member Avatar for Xjmaslord4

[CODE]Dim Hours As Integer Dim Minutes As Integer Dim Seconds As Integer Dim Time As Date Private Sub Mydisplay() 'This code is common to all three text boxes so I 'put it in it's own sub. 'Extract the numbers from the text boxes by using 'the Val() statement. Hours = …

Member Avatar for AndreRet
0
180
Member Avatar for neelle26

[CODE]Option Explicit Dim temp As Integer Private Sub Form_Load() Text1.Enabled = False Text1.MaxLength = 10 End Sub Private Sub Command1_Click() Text1.Text = Text1.Text + "1" End Sub Private Sub Command2_Click() Text1.Text = Text1.Text + "2" End Sub Private Sub Command3_Click() Text1.Text = Text1.Text + "3" End Sub Private Sub Command4_Click() …

Member Avatar for abelingaw
0
114
Member Avatar for tuanpq

Dear all, I'm a newbie Outlook Add-in and I have developed a small Outlook Add-in, but now I have an issue with the Add-in. Sample source code is bellow: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using Outlook = Microsoft.Office.Interop.Outlook; using Office = Microsoft.Office.Core; using System.Windows.Forms; …

0
107
Member Avatar for PM312

How can i generate next increment number for alphanumeric serial . i.e first cheractor is alphabet and next four cherectors are numeric. ( N1125 )

Member Avatar for debasisdas
0
73
Member Avatar for shawnhanna

Hello, I am new to C++ windows programming and have only taken 1 class in c++ in my life (I have experience with other languages and OOP). I'm using Visual C++ 2008. and my project is created by the wizard for a Windows Forms Application. (I'm guessing this means CLI …

Member Avatar for shawnhanna
0
701
Member Avatar for kubic

Hi, I need to use LPT as SPI with CS DO CLK But how to setup LPT pins for SPI can I use D0 D1 D2 on lpt port for this ? is this correct ? lpt pin 2 CLK Lpt pin 3 CS Lpt pin 4 DI [CODE]Const Po378 …

Member Avatar for kubic
0
258
Member Avatar for HelloPeople1

Hi guys I just started writing in c++ yesterday, although I did write in visual basic before. After watching some basic c++ youtube video's i decided i wanted to make my first game, tic tac toe. So as a warning i did this without using anyone else's code or any …

Member Avatar for jonsca
0
170
Member Avatar for abelingaw

Ok, here's another problem which i really need help. One suggestion from our panel suggested if we can have a module which do not allow deleting a record (one or more) in the database which are Administrator type. Those records cannot be deleted whether through 1. the program itself (via …

Member Avatar for jhai_salvador
0
529
Member Avatar for prajana

Hello! I am very pleased to join Daniweb. I found it very interesting and helpful and immediately joined the community in the hope of getting some help regarding my final year project. Well coming to the point, m designing an Attendance Management System(AMS) for my college. I have created accounts …

Member Avatar for abelingaw
0
119
Member Avatar for mistymarian

Hi. . . i got this code in visual c3 and i want to code it in visual basic. . .somebody help me please in doing it. . . [code] byte* p = (byte*)(void*)Scan0; int nOffset = stride - b.Width * 3; for (int y = 0; y < b.Height; …

0
90
Member Avatar for Zvjezdan23

[CODE]#include <iostream> #include <string> using namespace std; int main() { // A switch program that shows the user his input choice string word1 = "Achieve"; cout << "Welcome to Your AccuWeather Report Screen." << endl; cout << "Your choices are listed at the bottom." << endl; cout << "Number 1 …

Member Avatar for WaltP
0
136
Member Avatar for JD69

i am trying to find a code that will do a search and find the ip address of any printer on the network with a ip address? Please help thank you

Member Avatar for lolafuertes
0
63
Member Avatar for JD69

i have a a form that has: textbox1 = registration name textbox2 = network folder path textbox3 = local user name textbox4 = password i need a button that will send all of this information to a webpage with a single click of a button. The section where this information …

0
69
Member Avatar for axes2t2

Hello, I am using a code to generate an id for a table.But it is giving 'Conversion from type dbnull to type integer is not valid' exception. Now I know that this is due to the table being an empty set.But it works properly if there is already a row …

Member Avatar for axes2t2
0
2K
Member Avatar for PM312

How can i trigger Leave Cell event for Msflexgrid through command button click or textbox lost focus.

Member Avatar for AndreRet
0
1K
Member Avatar for jogieglenmait

my problem is so simple guys, how do i make [B]3 textboxes[/B] connect to a database of users using [B]adodc in a different form?[/B] [B]so that if you entered your userid, username and password you could log in.[/B] i cant post my code now but ill try later on.

Member Avatar for panchong
0
1K
Member Avatar for MichellePV

I completed a form for my supervisor using VB via Microsoft Word. It worked beautifully on my end...I could fill it out, save it, etc. I password-protected the document and only allowed people access to fill-in the form, which consists of drop-down menurs and text boxes. However, when another user …

Member Avatar for AndreRet
0
160
Member Avatar for daniwaber

Hi:) How can I scroll the report in runtime by mousewheel. I am using VB6 (SP6) and for reports I am using VB report control.

Member Avatar for AndreRet
0
286
Member Avatar for martin11ph

I have an IP camera that feeds video over lan or the internet thru a browser. It has its own interface on either Mozilla, IE or other browsers. I tried calling the site using the Microsoft Internet Controls component and it works fine. The GUI is called upon and I …

Member Avatar for AndreRet
0
904
Member Avatar for BimBam

Hi guys :) I'm currently trying to do something I don't have any experience with, and I did not really understand what ixQuick found for me .. So I try here, hoping someone shouts 'oh, done this million times, it's a piece of cake' ;) So, I'm using Visual Studio …

Member Avatar for BimBam
0
94
Member Avatar for authi

*THIS IS THE CODE WHERE I CLICK A BUTTON TO SIGN UP FOR AN ACCOUNT* Set db = New ADODB.Connection db.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\useraccount.mdb" Set rs = New ADODB.Recordset rs.Open "Select*from useraccounts", db, adOpenStatic, adLockOptimistic rs.AddNew rs!Lastname = Text1.Text rs!Firstname = Text2.Text rs!Contact = Text3.Text rs!UserName …

Member Avatar for debasisdas
0
107
Member Avatar for mike42intn

I am new to Visual Basic I'm a student and im working on a payroll calculator program I got it to where it will display user input now i have to get it to calculate pay based on which radio button is selected im doing this one at a time …

Member Avatar for codeorder
0
166
Member Avatar for coroll

Hi, I want to send no emails with attachments.But i dont know anything about sending emails.Im using windows 7 visual studio 2008. I was looking for help on internet. According to them I installed IIS.I think it is IIS 7. How to check the version of IIS? Also smtp is …

Member Avatar for coroll
0
312
Member Avatar for divakar.it

I would like to copy and paste special values in excel using VB6 during report generation. But pastespecial is not working. Its throwing error 1004 Paste Special method worksheet failed. Below is the code. can you please advise [CODE]xlTmp.ActiveSheet.Range("H7:H23").Select xlTmp.Selection.Copy xlTmp.Sheets("Consolidation").Activate xlTmp.ActiveSheet.Cells(6, 4).Value = P(N) xlTmp.ActiveSheet.Cells(8, PS).Select xlTmp.ActiveSheet.PasteSpecial xlPasteValues, xlNone, …

Member Avatar for AndreRet
0
212
Member Avatar for neosonic

Hi, I just want to ask a simple question.. hopefully. I use package and deployment wizard to create my software's installer. My software can be run by using a lot of pictures and document that because it contains millions of pictureboxes. Those pictures must be located in the same folder …

Member Avatar for AndreRet
0
345
Member Avatar for ITHope

I am currently taking C++ but i am also in Software engineering. for my software engineering class we have to create a project(of our own choosing) coding included by April. my question is how would i use c++ to create a rigorous/simple software.... i want to do something pertaining to …

Member Avatar for daviddoria
0
180
Member Avatar for dilansankalpa

I have entered a Check box Column to a [B]DataGridView[/B]. When the program runs , we should double click on check boxes in the column ti get it selected. I have add the properties [B]EditOnKeyStroke [/B]and [B]FullRowSelect[/B]. Even after i get this problem. I'm using visual studio 2008. Can anyone …

Member Avatar for jaffar_ramnad
0
90
Member Avatar for anu89

I need the syntax of queries in visual basic 6 to edit the database in ms access.please help me.The name of database is patient details and it has fields as name,id,height,weight,bmi,email,phone etc. if the id is already matching i need to update the details and if its not matching i …

Member Avatar for AndreRet
0
83
Member Avatar for abelingaw

Regarding my earlier post. [URL="http://www.daniweb.com/forums/thread327097.html"]http://www.daniweb.com/forums/thread327097.html[/URL] I encounter an error saying [ICODE] Run-time error '462': The remote server machine does not exist or is unavailable [/ICODE] Haven't notice this error earlier. Code: [CODE] wrdApp.Documents.Open App.Path & "\Reports\Locatorslip.docx" wrdApp.WindowState = wdWindowStateMaximize wrdApp.Visible = True [/CODE] The code works fine. Error only appears …

Member Avatar for AndreRet
0
115
Member Avatar for bluehangook629

This is the code I have to validate control number that we use to keep track of our inventory. However, I dont know much about Access so I have written and tested this function in VB.Net on Visual Studio. Now, I need to convert my code so it work in …

Member Avatar for AndreRet
0
186
Member Avatar for pardeep3dec

Dear Experts, I am working on a TCP/IP project but my problem is that whenever my programme trying to reconnect again to server then server giving message port number is different. i.e. every time my programme is run its port no showing different in server so kindly guide how can …

Member Avatar for AndreRet
0
233
Member Avatar for neosonic

Hi, I am using vb6 to manipulate my word 2003 template .dot and save it into .doc. My current method is: I am creating I word class, called W. then I use: W.activedocument.SaveAs "documentname.doc", 0, 0, "". 1, "", 0, 0, 0, 0, 0 It can be used perfectly for …

Member Avatar for AndreRet
0
2K
Member Avatar for dalymiddleboro

I'm getting the following error when trying to write to a file: 1>Linking... 1>mit_lesson1.obj : error LNK2019: unresolved external symbol "int __cdecl do_stuff(int,int,int,int)" (?do_stuff@@YAHHHHH@Z) referenced in function _main 1>C:\Users\Michael\Documents\Visual Studio 2008\Projects\MIT\Debug\MIT.exe : fatal error LNK1120: 1 unresolved externals 1>Build log was saved at "file://c:\Users\Michael\Documents\Visual Studio 2008\Projects\MIT\MIT\Debug\BuildLog.htm" 1>MIT - 2 error(s), …

Member Avatar for Fbody
0
149
Member Avatar for PM312

i am typing below code in each and every date text box keypress event to allow numbers and back slash keys only. can any function or subroutine be created to avoide typing same code again and again in the project. [CODE]Private Sub Text1_KeyPress(KeyAscii As Integer) Dim ch As String ch …

Member Avatar for PM312
0
68
Member Avatar for teoh

[CODE]class StudentMark { public: StudentMark(); StudentMark(double); double getGrade(); }; #include"grade.h" #include<iostream> using namespace std; StudentMark::StudentMark() { double mark=0.0; } /*StudentMark::StudentMark(double dNewmark) { dmark=dNewmark; }*/ StudentMark::StudentMark { if(mark>=80&&mark=<100) grade='A'; else if(mark>=75&&mark<80) grade='A-'; else if(mark>=70&&mark<75) grade='B+'; else if(mark>=65&&mark<70) grade='B'; else if(mark>=60&&mark<65) grade='B-'; else if(mark>=55&&mark<60) grade='C+'; else if(mark>=45&&mark<55) grade='C-'; else if(mark>=40&&mark<45) grade='D'; else …

Member Avatar for JSPMA1988
-3
213
Member Avatar for eiven_05
Member Avatar for AndreRet
0
595
Member Avatar for abelingaw

How do i populate a combobox with values from a certain field on my database when i click the control? My combobox control name :cbodept Dbase table: Offices and Dbase Table field is: Office Preferably code. Thanks

Member Avatar for AndreRet
0
107
Member Avatar for arthurav

I am creating a template class for working with matrices and get an error when I try to use the overloaded << operator. This is the code: [CODE]#include<iostream> #include<string> #include<conio.h> using namespace std; template <class T> class matrice { T **a; int m,n; public: matrice(); matrice(int,int); matrice(FILE *); matrice(int,int,T **); …

Member Avatar for vijayan121
0
2K
Member Avatar for blackik

Hi, In what way the Visual Studio generates the 'full resources names' from control resource tag in aspx file? For expample in .aspx file I have a textBox control with resource tag: [CODE]meta:resourcekey="ASPxComboBoxResource5[/CODE]. In resx file I could find this: [CODE]ASPxComboBoxResource5.DisplayFormatString, ASPxComboBoxResource5.DropDownButton.Text, ASPxComboBoxResource5.DropDownButton.ToolTip, ASPxComboBoxResource5.ItemImage.AlternateText, ASPxComboBoxResource5.ItemImage.DescriptionUrl, ASPxComboBoxResource5.LoadingPanelImage.AlternateText[/CODE] and so one... I …

0
110

The End.