16,916 Topics

Member Avatar for
Member Avatar for PinoyDev

Good day guys! I just want a little help about recordset navigation to act when i click Previous and Next button. I have created the navigation code but it jumps the records on a table..My code below. [code=vb] '==========================In class module(clsCheque_Navigation)======================== Option Explicit Private Nav_chkno As String 'Store current page …

Member Avatar for PinoyDev
0
105
Member Avatar for nu2cpp

Hi Guys, I am running vc in visual studio 2009. I have a code that I wrote to read a binary file a while back using c++ (all in a console). Now I am trting to update the code using a GUI. In the console version the file location was …

Member Avatar for Narue
0
97
Member Avatar for goodridge_

Hey guys I want to create a secure log in/ clock in / out form where different employees could log in and be automatically directed to there correct form. I have tried to create one but i keep getting "run time error 3011" [CODE]Dim WithEvents kell As Timer Private Sub …

Member Avatar for dspnhn
0
111
Member Avatar for priyam1309

I have created a DLL file using VB6.0 and the registered the DLL into another server. Now I have created a DTS Package (ActiveX Task) which will create object of the DLL and call a particular function. The problem is when I execute the DTS task from my ID, everything …

Member Avatar for finito
0
447
Member Avatar for new2programming

i have been following this tutorial. However when i try and run it i get these errors: I cannot see why i am getting them.. [ICODE]1>------ Build started: Project: Ninja Wars, Configuration: Debug Win32 ------ 1> Playstate.cpp 1>c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\playstate.cpp(8): error C2259: 'PlayState' : cannot …

Member Avatar for Ketsuekiame
0
161
Member Avatar for Bashir ahmad

[B]sir I design a small application in vb (Windows-xp system) which displays the records from the sql database tables. Entering a table name in the text box and clicking the Button, its records are displayed in the data grid. The code for the button is[CODE]adodc1.recordsource="select * from " & txttable.text …

Member Avatar for Bashir ahmad
0
95
Member Avatar for leverin4

I am working on updating a database where some measurements are stored as text. The updates I'm making are to let the engineers that use it convert their measurements into different units. Long story short, the numbers must be kept as text for a couple reasons that I won't go …

Member Avatar for jhai_salvador
0
189
Member Avatar for gingerc

I need to find out how to connect crystal reports 10 to vb 6.0 application. Did the previous posts get answers? If so, why aren't they visible?

Member Avatar for vb5prgrmr
0
41
Member Avatar for cabsjonel

ello folks its been along time since i did not post a thread but by the way folks i have some problem of my flexgrid iwant to save a data that came from my database and display it from flexgrid can u help me folks? i really need this code …

Member Avatar for brodchoy74
0
109
Member Avatar for krille

I will order Visual basic 6.0 soon and I wonder what the differences are between the Professional and the Enterprise package? It is crucial that the OLE tools and the "Package & Deploy Wizard" are included. Are these tools included in both the packages?

Member Avatar for vb5prgrmr
0
1K
Member Avatar for Dmlang1985

Does anybody out there know of any VB.Net tutorials regarding pulling and adding records out of a sql database? I am trying to figure this out on my own, but I just need an example program to show me how to do it. I have figured out how to connect …

Member Avatar for kvprajapati
-2
213
Member Avatar for winrawr

I've been writing in visual basic for a number of years and have suffered so much criticism just for using the language. It's so easy to pick up and it can be compiled to an executable, that's why I learned it... From what I've gathered, the things that are "wrong" …

Member Avatar for winrawr
0
265
Member Avatar for tonymuilenburg

Hi All, I'm developing some simple C++ windows forms application games using visual studio.net 2008, and am looking for some ways to distribute the game to paying customers. I'm starting with Intel's appup distribution, but that's only just starting to take off. Any suggestions?

Member Avatar for tonymuilenburg
0
164
Member Avatar for Anigmalee

Since Visual Basic 2008 Express Edition have no Crystal Report template included. Is there Other way to show Report/Log data similiar way? Maybe by MS Excel? Or MS word? Any hint or Idea will be wellcome^^ many thanks.

Member Avatar for Anigmalee
0
122
Member Avatar for umers56

i am trying to create a videogame but im having trouble moving a picture. what im trying to do is move a picture called mario left, right, down, up... im trying to use the arrow keys... i dont have much experience either. everytime i press the up key the picture …

Member Avatar for umers56
0
274
Member Avatar for Bashir ahmad

Dear sir i use the code [CODE]Printer.print "Bashir ahmad" printer.endDoc[/CODE]on the click event of a command Button. If the printer is turned on, printing starts, but if the printer is turned off, is there a method of informing the user to turn on the printer before printing. In programs like …

Member Avatar for vb5prgrmr
0
69
Member Avatar for Muhidin

I Hv problem, How methode syntax datagrid manipulation with mouse / drag on the datagrid when touch table then show information about data tabel. thx.

0
27
Member Avatar for dre-logics

Three one questions about releatie in MySQL with Visual Basic 2008. How can i use Mydatapter1 over again and over agian (see code)? So that i can fill [COLOR="Green"]three datasets[/COLOR] I want to fill three datasets with tree different tables and use them in my program [CODE] myCommand1.CommandText = "select …

Member Avatar for dre-logics
0
215
Member Avatar for new2programming

I am using Visual C++ 2010 express edition and i am making classes but when i run i get the error: 1>c:\documents and settings\louisa\my documents\visual studio 2010\projects\ninja wars\ninja wars\game.cpp(71): error C2065: 'm_pScreen' : undeclared identifier [ICODE] In my Game.cpp i have this code void Game::Draw() { Sprite::Draw(m_pScreen, testSprite, 0, 0); …

Member Avatar for griswolf
0
174
Member Avatar for abyan

hi.. I'm new in VB, and I have a project to activate LED from VB, but the data from VB should be send first to microcontroller (I am using ATmega8535). so in simple way I suppose to activate the LED, yhe input is from VB, but it must be through …

Member Avatar for abyan
0
151
Member Avatar for finito

Name: XXX Nickname: XXX Height: 5'11'' Weight: 93 Kg or 205 lbs (Yes I know I am working on it) Hair: Black Eyes: Brown Location: Kuwait Age: 24 Hobbies: Dogs, Music, Cars, Tech, Solving Problems, Knowledge! Relationship Status: Single Fav Music: I have to say there isn't anything that I …

Member Avatar for finito
0
146
Member Avatar for juniorj

i want to display a selected record from my database to the data report in VB6. i used the foll. code, where cuno is the value of a textbox. i m passing the value of cuno through a module. SELECT * FROM Bill WHERE ID=cuno but when i run it, …

Member Avatar for vb5prgrmr
0
2K
Member Avatar for Bashir ahmad

i enter 3 identical records in an sql database table. Normally this should not have happened and the dbms is to check for identical records. Now when i try to delete or update any record, an error message is displayed and the record is neither deleted nor updated. any help …

Member Avatar for vb5prgrmr
0
110
Member Avatar for Bashir ahmad

[B]in my vb project i have a number of data reports each using a different papersize. each time, b4 opening the report, the paper size has to be set in the printer dialogue box and then the report shows correctly. otherwise the messages like "report width larger than paper width" …

Member Avatar for Bashir ahmad
0
3K
Member Avatar for ShaggyB

I'm not sure if this should go here but as i'm making my program in C# i thought i'd give it a go. I've been using 'Add New Data Source' in visual studio 2008 to get information from Access databases. This has always worked fine but recently buttons like 'Add …

Member Avatar for krishnisilva
0
298
Member Avatar for neosonic

Hi All, I have a microsoft word document, and I have got class to handle the manipulation within those documents (I call it "Word"). My code goes this way: ------------------------------- sub form load set W = New Word ' W is the Word object if usingW = true then 'open …

Member Avatar for vb5prgrmr
0
240
Member Avatar for OzY360

Hi i am doing C programming in netbeans and when i compile and run my program i get a message in the dos console that says i need to use the nodosfilewarning to disable the cygwin warning i am getting. I have attached a screenshot as it is a rather …

Member Avatar for baxilo
0
2K
Member Avatar for Bashir ahmad

[B]I enter 3 identical records in an sql database table. Normally this should not have happened as the DBMS must check for identical records. Now when I try to delete or update these records, an error message is shown. What to do?[/B]

Member Avatar for Bashir ahmad
0
256
Member Avatar for SeanyBoBorney

I'm Sean and I'm from Michigan, USA via the North East of England! My interests are web development, specifically ASP,.NET, Visual Studio, Flash, Java, HTML, anything web-related, even SQL Server/MySQL. Hope to find some good friends and great information online here at DaniWeb! Cheers! Sean

Member Avatar for maceman
0
64
Member Avatar for neosonic

Hi, I load many of the picturebox (I named them pic) with the index 0 to 10 (pic(0) to pic(10)) on top of my main (biggest) picturebox. My problem is, pic(1) will always be on top of pic(2). pic(6) will always be at the bottom of pic(5) and so on.... …

Member Avatar for neosonic
0
111
Member Avatar for arunvb

Hi.. Am using vb6.0 and crystal report 2008 in my project. Am getting lots of temp files on the root path.. Application will taking more than 2 hrs to load. After loading, the application is terminating automatically.. And when i try to open .dsr files it ll showing an error.. …

Member Avatar for vb5prgrmr
0
102
Member Avatar for death.cometh

I'm trying to display some data from a MS Access database to a data report. It was successful, unfortunately, I need to display it in the format below: [B]emp_name[/B] [B]date[/B] [B]remarks[/B] [INDENT][INDENT][B]date[/B] [B]remarks[/B][/INDENT] [/INDENT] [INDENT][INDENT][B]date[/B] [B]remarks[/B][/INDENT] [/INDENT] [INDENT][INDENT][B]date[/B] [B]remarks[/B][/INDENT] [/INDENT] [B]emp_name[/B] [B]date[/B] [B]remarks[/B] [INDENT][INDENT][B]date[/B] [B]remarks[/B][/INDENT] [/INDENT] [INDENT][INDENT][B]date[/B] [B]remarks[/B][/INDENT] [/INDENT] [INDENT][INDENT][B]date[/B] …

Member Avatar for Bashir ahmad
0
129
Member Avatar for Teseng

The normal VB forums werent much help unfortunately, so i've joined the great looking community here :) So, sorry if anything about this post is wrong, i'm new! But anyways, can anyone give me any insight on how i can accomplish this? I will need to pass the vb6 udt …

0
40
Member Avatar for close_encounter

I'm stuck trying to figure this out. I know I'm going to need a counter I just don't know where or how to implement it. I'm reading from a .dat file. The contents of the file look like this. google.com 760000 250 yahoo.com 340000 170 daniweb.com 230000 125 etc. I …

Member Avatar for Fbody
0
133
Member Avatar for Atlanticspace

Ok so i have a merg sort algorithm in my code yet for some reason its not letting me change it to what I need. Im not seeing where I have the mistake. any help? here are my files along with error. I am trying to sort the events by …

Member Avatar for Atlanticspace
0
226
Member Avatar for pankaj.garg

Hello, I am using MScharts and want to mark individual datapoints in the chart. I am using following code for adding marker - with mschart1.plot.seriescollection.item(3) .SeriesMarker.Auto = False .DataPoints.Item(-1).Marker.Visible = True .DataPoints.Item(-1).Marker.Size = 60 .DataPoints.Item(-1).Marker.Style = VtMarkerStyleX By using above, I am able to mark the entire series, but the …

0
58
Member Avatar for duncangjacks

[CODE]Sub From_sheet_make_array_col() Dim myarray As Variant myarray = Range("A1:A10").Value 'Looping structure to look at array. For i = 1 To UBound(myarray) MsgBox myarray(i, 1) Next End Sub[/CODE] [CODE]Sub From_sheet_make_array_row() Dim myarray As Variant myarray = Range("A1:J1").Value 'Looping structure to look at array. For i = 1 To UBound(myarray) MsgBox myarray(i, …

Member Avatar for duncangjacks
0
98
Member Avatar for igreenb

Can anyone offer help for the following Macro I am needing in Excel 2007. The function would be as follows. Need help with turning this into code. Thanks so much in advance!! 1) Open file name: Y:/P21.xls 2) Open file name: Y:/PriceSheet.xlt (Note: Pricesheet.xlt pulls data from P21.xls) 3) Save …

Member Avatar for Ionelul
0
106
Member Avatar for Daocsm

yes im kinda new to vb and hoping someone can help me, i'v tried google with no luck. so i am creating a database program using access SQL statements to load the data, everything works perfictly except i cant figur out how to upon first install of the program the …

Member Avatar for Ionelul
0
100
Member Avatar for reza.adinata

Hi All, I am new in programming, and currently learning from some samples. From a[URL="http://www.c-sharpcorner.com/uploadfile/sthangaraju/tcpclientserverst11182005014316am/tcpclientserverst.aspx"] page[/URL], I tried to implement a TCP client server with the following page in WPF (visual studio 2008) [CODE]using System; using System.Text; using System.Net; using System.Net.Sockets; public class serv { public static void Main() { …

Member Avatar for reza.adinata
0
469
Member Avatar for bhavin12300

hi, i am facing strange behaving of my application. i have developed one simple application, which will fill up some fields in webbrowser control webpage. this webpage has iframes in it. domain of both iframe are same and fields which i am filling with my code is in iframe. but …

Member Avatar for bhavin12300
0
730
Member Avatar for anjal_pawar

I want to load a form of project2 on click event of form of project1. how to do this?need answer urgently......

Member Avatar for AndreRet
0
98
Member Avatar for dre-logics

I use: Visual studio 8.0 MySql database One table: table :Groups, two fields : groupnb,groupdef One Datagridview with is link to [COLOR="Red"]Mydataset1[/COLOR] [COLOR="Red"]Some times [/COLOR]a get this MySQL error: [COLOR="red"]"Connection must be valid and open"[/COLOR] I use first this command : [COLOR="Green"]MyDataset1.Tables("groups").Rows.InsertAt(row, 0)[/COLOR] Then I change the content of some …

Member Avatar for dre-logics
0
372
Member Avatar for jjmartin0

I have visual studio 2008 pro installed along with a sql server 2008 sql server 2005 mobile. I have installed service packs for the data base file wont open on my computer but it does on the school computers. I don't know what the school computers have on them. The …

0
34
Member Avatar for stuhawk

Private Sub Average_Click() Dim Test1 As Integer Dim Test2 As Integer Dim Test3 As Integer Dim Test4 As Integer Dim Test5 As Integer Dim Test6 As Integer Dim Average As String Test1 = txtTest1.Text Test2 = txtTest2.Text Test3 = txtTest3.Text Test4 = txtTest4.Text Test5 = txtTest5.Text Test6 = txtTest6.Text Average …

Member Avatar for vb5prgrmr
0
87
Member Avatar for pv1328

Ok, so here it is: I want a video to play when the form is loaded. Once it is done playing, i want to hide the form, and open another form. I am using Microsoft Visual Basic 2008 Express Edition my code is: [CODE]Public Class frmSplashVideo Private Sub frmSplashVideo_Load(ByVal sender …

0
30
Member Avatar for sachintha81

I am working on a Setup program which creates a .msi file. There is a CustomAction program associated with it which is written in C#. There are three COM object references made in this CustomAction program which are necessary in order for it to work. They are as follows. 1. …

Member Avatar for sachintha81
0
132
Member Avatar for jokers6

Hey guys i have this program and i want you to tell me what is wrong cuz i can't figure it out !! This is what i have to do: (the code follows) When the form is loaded, read the records in P3S3 Data File For Import.txt to a listbox …

0
64
Member Avatar for Atlanticspace

ok so im trying to get my line of text file working with my file input. the Last part of my text file has a name of an event with spaces which I want to include those spaces so I needed a getline. apparently for some reason my getline function …

Member Avatar for Atlanticspace
0
165
Member Avatar for genesistr

hi, I have two 3rd party unmanaged c++ dll and one C++ project which uses these dlls. In my asp.net project i added c++ project as referance but in runtime it fails with that error: Exception from HRESULT: 0x8007007E... Visual studio puts c++ project's dll into /bin folder auto. Even …

0
46

The End.