16,916 Topics
![]() | |
can someone convert that to case statement: [CODE]Private Function Discount(curr As Currency) As Currency Dim temp As Currency If curr < 15 Then temp = 0 ElseIf (curr > 14.99) And (curr < 30) Then temp = 0.05 ElseIf (curr > 29.99) Then temp = 0.1 End If Discount = … | |
A college just got Visual Basic Professional installed on his computer. When we try to run a software developed at my company the software starts but then we got an error message that says: [COLOR="Red"]License information for this component not found. You do not have an appropriate license to use … | |
Hi, I have to do search engine for shop (my course assessment) it have to search produckts by code and description. I dont really know how to do it. Can someone help me? that what i have: [CODE]Private Sub Command1_Click() Dim code(6) As String Dim description(6) As String Dim price(6) … | |
hi i have a problem, trying to set a form to open a new window, this is what ive got ... private void newWindowToolStripMenuItem_Click(object sender, EventArgs e) { this.browser.NewWindow(); } any ideas why it isn't working? | |
I am using visual studio 2008 with C# developing an window application, I want to displsy blinking text with marquee on label using [B]thread[/B].But it generates error :--Cross thread error. What is this and pls solve my problem. | |
When I try run my appliction on a client machine I keep getting the following error: Run-Time Error '20532 Cannot find database dll I know I need to install the 'database dll' on the clients machine ... but ... what is the database dll? I am using MS Access 2000 … | |
I'm trying to import all data from an Access DB using Visual Basic 2005. I'm new to Access and so far I can only import one record at a time. Any help would be appreciated!! Here is the code I have so far (obviously to bring one record at a … | |
Hi, i've have just created my first program in visual c++ 2008 express edition and i'd like to know, if I can create an exe file to make this program run independently from visual studio. thanks | |
Hi,I am new with this forum even if I have been programming in c,c++ for a while. I have never realized any DLL file and I'd like to start now. I think I have basically understood the concepts that stay behind a DLL realization but I still can't make one … | |
Hi, I'm trying to make a rather simple Visual Basic app with which I can update some tables within my MySQL databases. I've been following [URL="http://www.vbmysql.com/articles/vbnet-mysql-tutorials/the-vbnet-mysql-tutorial-part-3"]this tutorial[/URL] from page 3 on, as the first 2 pages where on how to initialize a local MySQL database. My MySQL database is on … | |
I've got two member functions: [code=c] //Particle.h class Particle { public: bool isDead()const; static bool isDead(const Particle & par); }; //Particle.cpp bool Particle::isDead()const { return(xPos<=0 || xPos>=SCREEN_WIDTH || yPos<=0 || yPos>=GRASS_HEIGHT); } bool Particle::isDead(const Particle & par) { return(par.xPos<=0 || par.xPos>=SCREEN_WIDTH || par.yPos<=0 || par.yPos>=GRASS_HEIGHT); } [/code] But when a … | |
Hi everyone!!! I am trying to fetch data from an excel sheet to an other sheet or to ole automation in vb. the main problem is that i have to search data on the basis of two date intervals and nd then copy data from related cells recorded in that … | |
I'm a complete programming novice, so apologies in advance ;) I'm trying to design a simple app to take user input from a textbox (in this case, Outlook EntryID - a hexadecimal string) and use Redemption.DLL to return a set of MAPI properties from the container. The button and general … | |
Okay, so currently i am working on a final project at my college, i have been tasked with creating a database administration tool. One of my major hurdles was how to query the MySQL database and return all of the results into a DataGridView object with correct column names. As … | |
How to deploy asp.net (visual studio 2008) web application on a remote server? I am developing a web application in visual studio 2008. I want to deploy the application on a remote server. I have try a few ways on how to do it based on reference from internet. But, … | |
Any body having any solution to write a report without using DATA REPORTS and Crystal and allowing it for preview and print. The report should be well designed... Help me | |
hi everyone. i have a problem with my c++ program that i am making for my assignment. This is an ISBN asignment and basically The ISBNPrefix module simply reads the ISBN prefix table. This module contains all of the functions that are needed to access the table. Store the function … | |
i do need some help related to combox: 1) m making my project and in that have used combox for selecting various options and had inserted the item , suppose i had entered MBA, BCA, MCA, B.E. in the begging i have used database to enter marks per semester(i.e. upto … | |
I would like to do 2 things (or one of the two) first, I have in form1 a textbox1 and i would like to bring the info of it to a textbox (or label) in form2 second, If it's possible i would like to set a picture from form1 to … | |
i have to read the data from weigh machine attached to RS232 port using VBScript. Can anyone tell how it is can be done | |
i've been been trying to decipher what is wrong with this code for some time, help would be apreciated. It is an application in visual studio 2008 with c#, when a user puts in a number, the application checks the number to make sure it is a number, then if … | |
dear all, Im new in C++ programming. Recently, im doing a login page using Microsoft Visual C++ 2010 Express and Microsoft Access as database. Im trying to connect ODBC to my system but there was a lot of error occur. Can somebody explain me what my problems... [B] This is … | |
Sorry I ask too many simple questions :D 1. [code=vb]Public Class Weapon Dim name As String Dim type As String Dim damage As Integer Dim speed As Double Dim durability As Integer Dim value As Integer Dim RustySword As Weapon 'What kind of declaration must I make? Its an error … | |
I want to find some thing in ms word. this is the default option of ms word. but here I want to do in my own language (cause the default option only support English). I can make it. but I don't know how it connect with ms word. I mean … | |
Hi Guys, I wonder if you will be able to help me with creating a password generator in VB using VS 2008. I have limited programming knowledge from my time at university and it wasn’t my strong point :). What I want to do is have a front end which … | |
Hi , I am very very new to VB and don't know how to proceed with coding this. I have a file in excel in the format below [U]Name[/U]....................[U]UID[/U]...................[U]Password[/U] Marie Lily...............myoune.................9eW2n+st Rita Jain..................rjain....................yE#eCA2a Peter Craig.............pcraig.....................Qutru4r? and I need to convert this data/excel sheet into the format below: dn: cn=myoune,cn=Users,ou=MyDomain,dc=com objectClass: … | |
Hello, I have multiple problems in an application plotting online data. Below are my problems - 1. MSCharts flickers if my updation time is fast (around 1 sec), I have played around with Repaint, LockWindowUpdate and Visible methods, but no positive results. Is there a better method to stop flicker? … | |
Hi How can I protect/lock a drive from deleting files and format it ? Is there a way to hook a drive? | |
dear experts, please, how to use SQL query in excel 2007 and store the result of that query in the cell. let say I have a sheet with different information abut sales and I want to get the sum of the sales as per city let say where city is … | |
we have required a thumb machine for distribution of worker salaries in factory. I our factory total strength of worker 1000. We have a problem at the time of disturibution of worker salary, becuase a factory worker comes for salary with fraud twicely. Therefore we want to sigle payment & … | |
i am using access db plz tell me how to insert data from database. m using visual studio 2010. | |
Hi folks , I have a created a listview its almost done, the only thing that is missing is search, can you teach me how search in listview god bless folks..... | |
ok, so in Java you do "blahblah " + variable + " blahblah" which outputs into "blahblah 23 blahblah" but how do I do this in VB? I wanted to have a label with HPvariable + "/" + MAXHPvariable so it'll display 18/23 etc... | |
I wrote an application to enter the data and print output using Crystal 8.5 As I tried to create the SETUP file it stopped working at the last page. when I removed the crystal references and ocx and dlls and tried to make SETUP it worked properly. What shall I … | |
Hello, I have opened Visual studio 2008.And I clicked on View-->Other Windows-->Macro Explorer.Then I got a macro explorer window.I then clicked different options present in that window randomly .Now the code is not generating any color.And i am unable to copy the content of code.Even the solution explorer is not … | |
My website contains database,which runs successfully in visual studio 2008,but when I put it in \wwwroot in IIS, database not working.PLS solve my problem. | |
Hi, I have to write a little game for school. I am new at C++, but I have to do it on SDI. My idea is to make something like this one: [url]http://scratch.mit.edu/projects/Dthen/3801[/url] I have some questions for you: 1. How to remove the status bar from Main Window of … | |
Hi all, I am a first year student at northeastern and my VB professor assigned me a project that i am just stuck on. This is my first programming course and i honestly am a newbie at it so i hope you guys can help. Here is my situation. A … | |
Im an extreme newbie at VB and newbie to OO programming, and would like to make a basic text based RPG to start off (I made an RPG on my TI-84 calculator and would like to recreate it on VB) I don't know how to do these things: How do … | |
Hello folks I have a created a listview who has a save, delete , edit , update My problem is I want to higlight the rows that ive been added to my listview for ex. i have fillup all my following textboxes then after that when i click save the … | |
Hello folks I have created a listview my problem is when i want to save some data into my listview i want the data to be highlighted in list view Can you help me folks? God bless folks ... | |
[CODE]#include <fstream> #include <string> using namespace std; typedef struct blook { char* name; int hour; char* day; char* month; char* year; char* alive; char* sick; char* pregnant; char* adult; char* elderly; char* child; char* water; char* meat; char* wood; char* seeds; char* vegtables; }info; info load(string name1) { info black; … | |
are there any? i tried searching it up but it isnt what i need. u see i am making a visual basic 6 game for myself. i have the whole layout set up but i want the picture called picmario to jump up and then go back down. hopefully u … | |
I need to get this program to display the most expensive value and the most taxed value in text form from the names stored in the array. The following code works out everything apart from displaying the most expensive and most taxed items on the screen. This needs to be … | |
Could someone point me in the right direction or provide an example of how to connect to a sharepoint, access an excel sheet, update it, save using VB6. I know how to access/modify/create/close excel sheets with VB6 on my local harddrive. I have searched and searched with no success over … | |
Am tryin to connect my c++ program of Visual Studio 2008 to a database bt hav problems. In VB.net 2008 I include a module (procedure). How do I? Someone help pliz. | |
hi guys does anyone want to give me an idea on was simple project to do for my final year. i want to use v b,coz i`m quite cool with it. pliz help, i dont know were to start from. | |
Hi there I am trying to design a flexi sheet calculator for work so that the users can use this program to calculate their working hours. They enter their times manually over the week. This is a calculator for them to use at the end of each week to calculate … | |
how can i redirect from one form to another in visual studio.Or even better would be if i can just change few panels in the form when i click change or save button for eg. Thanks | |
I Use visual basic 2008 I Have two tablelayoutpanels: Me.TableLayoutPanel1 Me.TableLayoutPanel2 I want ot use [COLOR="Red"]PrintDocument component [/COLOR]to print [COLOR="Green"]one Page [/COLOR]with [COLOR="green"]two[/COLOR] tablelayoutpanels on it! I have now this code for printing a "TextBox1.Text" [CODE] Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage e.Graphics.DrawString(TextBox1.Text, TextBox1.Font, … |
The End.