16,916 Topics

Member Avatar for
Member Avatar for coxxie

Develop class Polynomial. The internal representation of a Polynomial is an array of terms. Each term contains a coefficient and an exponent. The term 2x 4 has the coefficient 2 and the exponent 4. Develop a complete class containing proper constructor and destructor functions as well as set and get …

Member Avatar for NathanOliver
0
3K
Member Avatar for Blueie

Hello I am using the following try | catch to locate an error: Try Using conn As OleDbConnection = New OleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings("students").ConnectionString) Dim Sql As String = "INSERT INTO university (username,[password], strEmail) VALUES (@username,@password, @strEmail)" Dim cmd As New OleDbCommand(Sql, conn) conn.Open() cmd.Parameters.AddWithValue("@username", username.Text) cmd.Parameters.AddWithValue("@password", password.Text) cmd.Parameters.AddWithValue("@strEmail", strEmail.Text) cmd.ExecuteNonQuery() conn.Close() End …

Member Avatar for cgeier
0
199
Member Avatar for Alxprog

I've downloaded Visual Studio Express 2013 ISO. I have 7-zip tool and I've extracted the ISO's content on my hard drive. But I can't find any setup/autorun file. Does anybody know what file should I launch? Thanks beforehand.

Member Avatar for Alxprog
0
361
Member Avatar for ChileMan

Hi, I would like to know if anybody can tell me what, if any, functions exist to allow a VBA macro to recognize when somebody is entering text in a Word document. For example, when you open a document, control passes to macro Sub Document_Open(). I need to catch control …

Member Avatar for e.pol
0
158
Member Avatar for Mudsser ali

I have written a programme in vb 6.0 with window xp sp2, when i debug the program everything is fine but when i make exe file it hangs, i tried different methods but i have still this problems, While running my application, Windows XP tells me that the application is …

Member Avatar for e.pol
0
115
Member Avatar for krunal1986

Hello, I have created a crystal report in VS2012. it is working properly on local but when i host site on live server then it gives below error. Could not load file or assembly 'CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. …

0
76
Member Avatar for xuexue

Hi! These are the basic things I know about iDB2Commands to be used in Visual Studio 2010. Could you please help me how could I extract data from DB2? I know `INSERT`, `DELETE` and Record Count. But `SELECT` or Extract Data and `UPDATE` I don't know. Imports IBM.Data.DB2 Imports IBM.Data.DB2.iSeries …

Member Avatar for xuexue
0
1K
Member Avatar for frnds2vivek

Hi, I just completed a project in VB6. It was running smoothly when I tested it on my console, i.e. development PC. Then, I created a setup file of it using the InstallShield Wizard and tried to run it on a fresh test PC. The setup completed successfully but when …

Member Avatar for OrionBlastar
0
8K
Member Avatar for krunal1986
Member Avatar for Sarwat Zodiac

Hi.. How can I save and block the data base (Access) by VB6 ? I made a pass word for the data base, but not enough !! some programs can open it !! Thank you

Member Avatar for Stuugie
0
93
Member Avatar for aluhnev

class Animal { string _name; string _type; string _sound; // private constructor prevents construction of base class Animal(){}; protected: // protected constructor for use by derived classes Animal(const string & n, const string & t, const string & s) : _name(n), _type(t), _sound(s) {} public: void speak() const; const string …

Member Avatar for NathanOliver
0
225
Member Avatar for Moaid

i'm using windows 7 64 bit machine , i have been using 'mingw' compiler for a lot of time and honestly i don't like it i want to try microsoft now since its a big company and all but i don't understand what should i download there are many versions …

Member Avatar for deceptikon
0
137
Member Avatar for Sarwat Zodiac

Hi everyone.. I made a small program by VB6, it is a Clock, but in the run time when the Second-hand is moveing the texts around the Circle vibrates !! How can I make these texts stable (no vibration) ? Thanks Sarwat

Member Avatar for Sarwat Zodiac
0
90
Member Avatar for gizidda

Hi guys, i intruduce myself with some delay because i am on holiday... my name is Alessandro i am a 40 y.o. VB.NET addicted from near Rome. I am the head of a little project called adVersum and i develop some desktop replacements for Windows7 all in pure visual basic... …

Member Avatar for JorgeM
0
107
Member Avatar for Ravi Kant

Hello ! I want to get the current week number of the month. I have used this code below : - Private Sub Command1_Click() Dim t_Day As Double t_Day = Day(DTPicker1.Value) Select Case t_Day Case 1, 2, 3, 4, 5, 6, 7, 8 Text1.Text = "1st Week" Case 9, 10, …

Member Avatar for iluvchubs
-1
2K
Member Avatar for Jihadyildiz

i have a windows phone project and i am trying to post data to website and get the data i have working windows form project code but when i try to use that code on wp8 i get error says `Error 2 'System.Net.HttpWebRequest' does not contain a definition for 'GetResponse' …

Member Avatar for hericles
0
202
Member Avatar for cd88

Hi, I am stuck trying to reuse the calendar or the date time class in visual basic I can not find a way to reset the former settings. Is it just me or is there a way to accomplish this task. Any help would be appreciated. I feel it is …

Member Avatar for cd88
0
393
Member Avatar for aluhnev

#include<utility> #include<tuple> #include "stdafx.h" #include<string> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { pair<int, string>p(42, "forty-two"); cout << p.first << " " << p.second << endl; p = make_pair<int,string>(112,"one-one-two") ; cout << p.first << " " << p.second << endl; return 0; } // Can some one help to …

Member Avatar for aluhnev
0
232
Member Avatar for anuradha71

THIS IS MY CODE.... bUt i am not getting the data between the given dates IN THE DATAGRID VIEW Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ConnString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source= C:\Users\Anand\Documents\db.accdb" Dim dfrom As DateTime = DateTimePicker2.Value Dim dto …

Member Avatar for pritaeas
1
264
Member Avatar for Mr.M

Hi Dw I'm trying to create a server that will handle simultaneous connections from clients and for simplicity I've decided to save data to the text files, it not one text file but there are many text files which will be located on the server. The clients (written in VB5.0) …

Member Avatar for JamesCherrill
0
2K
Member Avatar for aluhnev

#include "stdafx.h" #include<vector> #include<iostream> using namespace std; int main( int argc, char ** argv ) { // from initializer list (C++11) cout << "vector from initializer list (C++11): " << endl; vector<int> vi1 = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; cout << "size: " …

Member Avatar for sepp2k
0
201
Member Avatar for kimlong008

Hello Everyone ! I have build a c file but it use GNU library, I can not build it to exe file. It error because I don't know use MinGW to build. [Download file](https://sites.google.com/site/datazus09/crunch-3.6.zip). I have install MinGW but I don't know how to run it in my visual studio …

Member Avatar for kimlong008
0
313
Member Avatar for SaRa Ahmad

i need to know if i can scan an image or any file from vb6 form then save it to my database, if yes how i can do it ?? thanx in advance...

Member Avatar for Sabrina.Moro
0
1K
Member Avatar for missy_mi

Hi, i am having problem with my vb project to clear all item in my form. Below is the code that i am using : Dim ctrl, obj as control For Each ctrl in Me.controls If typeof ctrl is GroupBox then For Each obj In ctrl.Controls If typeof obj is …

Member Avatar for kb.net
0
208
Member Avatar for bananacat

I'm a little bit stuck at this moment. As of now, this is the code that I have: private void btnChangeImage_Click(object sender, EventArgs e) { using (OpenFileDialog openFileDialogForImgUser = new OpenFileDialog()) { string location = null; string fileName = null; openFileDialogForImgUser.Filter = "Image Files (*.jpg, *.png, *.gif, *.bmp)|*.jpg; *.png; *.gif; …

Member Avatar for cgeier
0
4K
Member Avatar for mcdczzz

hi is there someone that can give me some hints on how to create excel file using data from my ms access database..because i haven't seen one in the net maybe someone might help me here..i would appreciate some hints or tutorials..:D thanks a lot...

Member Avatar for Stuugie
0
436
Member Avatar for Needhelp2

Hi all, I have a large txt file (3 Million lines). Ouside excel capacity. Thanks for your support... input file format: =================================================== .. ... ... 2014 Jul 23 08:15:16.675 ... .. Name = x Lastname = y . . Age = 5 height = 1 .. .. ... ... 2014 …

Member Avatar for e.pol
0
246
Member Avatar for mcdczzz

If cboSearchType.Text = "Accredited Month" Then If rs.State = 1 Then rs.Close SQL = "SELECT * FROM BusinessInfo WHERE " & " AccreditationDate " & " like '" & cboMonths.Text & "%'" rs.Open SQL, con While rs.EOF = False With grdSearchResults .Redraw = False .Rows = .Rows +1 .Row = …

Member Avatar for e.pol
0
146
Member Avatar for nayzin.phyo

'====================================================================================================== '====================================================================================================== Option Explicit 'For Log ID Public RUNNINGID As String Private Sub butBrand_Click() On Error GoTo ErrorHandler Dim colData As New Collection frmSearch.SQL_Statement = "SELECT ROW_NUMBER () OVER (ORDER BY brand_type_code) AS [NO.] , " & _ "[brand_type_code] AS [Brand Type] , " & _ "[brand_type_name] AS [Brand Name] …

Member Avatar for e.pol
0
182
Member Avatar for jmay1327

I have a EXGrid in a form and want to add button to a cell that either say "Edit" and "Remove", or Have icons for the two. Here is the code I have so far. With grdGrade .BeginUpdate '.DataSource = objCo.DAL.Connection.Execute(sql) .DefaultItemHeight = 21 .TreeColumnIndex = -1 .MarkSearchColumn = False …

Member Avatar for jmay1327
0
595
Member Avatar for mcdczzz

can anyone help me?..i trying to make a very flexible report according to a search Results...i use vb6 and ms access as database...

Member Avatar for Hiroshe
1
227
Member Avatar for iConqueror

I am doing a little home project to learn more about collections and FileIO. I have made a little racing app where the user enters the racers details all of which are strings, and these details are inserted into a List<T> list and then once the user clicks the 'save' …

Member Avatar for tinstaafl
0
328
Member Avatar for No Way

Guys. I Want To open file,Find the LAST line,Start APPENDING then finishing When User Presses Return.Any Ideas? I am a Beginner with VB6. Sorry for bad Engilish.

Member Avatar for tinstaafl
0
46
Member Avatar for saira.banu
Member Avatar for iConqueror

I have been learning about the collections namespace in C# so have been doing some little self-made projects to learn. I have made a car race app where you enter in the name, car and place of the racer this is then stored in an array list. I can extract …

Member Avatar for ddanbe
0
2K
Member Avatar for mcdczzz

can anyone help me arrange my code?..i would like to format a text to be displayed in a flexgrid.. Format(len(rs!UserPassword),"•") the len = 11 so i would like to display 11 dots..•••••••••••

Member Avatar for Stuugie
0
60
Member Avatar for fifie izyani

Hye. i need to build an inventory system. In that system, the production department will scan the barcode in each item. **How should i connect the barcode scanner with the system ? ** and the requirement of the system is to be able to compare the information scanned **with** the …

Member Avatar for tinstaafl
0
163
Member Avatar for Spm_1

Please tell me how to get report for a given from and to dates using crystal reports......i am using access database.....thanks in advance....

0
49
Member Avatar for Bhagwanshay_1

i am developing a project in vb6.0 and i want to open a child form in mdi form with function keys and want to close child form with escape key.Plz reply me with source code

Member Avatar for milan.oparnica.90
0
1K
Member Avatar for gibookrishnan

Hi, I have a set of word macros which I need to share it with my friends. I want to make the job easy for them such that I share them an installable which they will install and all my macros will be automatically added in their PC's MS word …

Member Avatar for gibookrishnan
0
450
Member Avatar for Jollyyy100

I want to connect my access database to my project in vb 6. What are the steps i should follow? Once i'm done with that, i want to know how to drag them and place them on a form (like the way we do it in VB.NET). Thank you

Member Avatar for millyn
2
3K
Member Avatar for rela

I am a beginner, and want to know how can run the code in notepad with visual studio. I tried with a simple code by --<<All Program -->microsoft Visual --> visual Studio tools --> visual Studio command prompmt. The error is: ''fatal error C1083: cannot open source file: filename.cpp: No …

Member Avatar for NathanOliver
0
706
Member Avatar for Sarkurd

Hi i tried to test some new features of C++ 11 but how come Visual Studio doesn't support `constexpr`? i tried this simple function but it won't compile constexpr int multiply(int x, int y) { return x * y; }

Member Avatar for Sarkurd
0
1K
Member Avatar for fourty
Member Avatar for horizondesai

i have just installed visual studio 10. Im not familiar with it. I want to connect MDB file to it. I have googled that but could not find appropriate code. So would anyone help me finding the equivalent Visual Studio 10 code to the VB6 code i am pastng below. …

Member Avatar for cgeier
0
372
Member Avatar for Kev756

Type rounds_key 'Storage Container raundnyh keys key (255) As Byte End Type Global data_ () As Byte 'Declare global byte array Global key_ () As Byte 'Declare global byte array Global data_size_block As Long 'Declare global variable 4 bytes Global su_box () As Byte 'Declare global byte array Global …

Member Avatar for Stuugie
0
246
Member Avatar for Suzie999

Can abyone tell me what type of variable is a standard Form1? It's just a curiosity and not a real part of a project. here is the standard code visual studio starts with in my version 2010 when creating a new forms application with a couple of lines added/amended.. namespace …

Member Avatar for Suzie999
0
96
Member Avatar for Praise92

hi, im trying to insert data using Checklist and it is only inserting one even if i selected all che checkboxes, please help.hr is my Code protected void Button1_Click(object sender, EventArgs e) { //C:\Documents and Settings\PraiseM\My Documents\Visual Studio 2008\Projects\MiniProjectAcc\MiniProjectAcc\Employee.accdb OleDbConnection conn = new OleDbConnection(); conn.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Documents and Settings\PraiseM\My …

Member Avatar for Praise92
0
165
Member Avatar for Suzie999

Following a tutorial [here](http://www.joecolantonio.com/2012/07/31/getting-started-using-selenium-2-0-webdriver-for-ie-in-visual-studio-c/). Code is as follows... using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenQA.Selenium; using OpenQA.Selenium.IE; using OpenQA.Selenium.Support.UI; namespace mySelenium { class Program { static void Main(string[] args) { IWebDriver driver = new InternetExplorerDriver(@"C:\Downloads\selenium"); driver.Navigate().GoToUrl("https://www.google.co.uk/"); } } } When I run the code all seems to …

Member Avatar for Suzie999
0
355
Member Avatar for Samarth_1

Hello, I am a bit new to vb.net. I was learning Database in vb.net . I have created a MS Access file. But when I Started my Visual Basic (vb.net 2008 Proffestional) and then I Clicked the Option Add New Data Type (In Data), nothing came. Can someone help me …

Member Avatar for ManojBalaji3001
0
121

The End.