Topics
-
-
- *Experts*
- 3 replies
- 1.1k views
Hello, I have 23 buttons on my form. 3 of them are for navigation. Then the rest basically will get information put in them from a db... So lets say for example the color spectrum (well 20 colors anyways) are displayed in the form.. one for each button. How can I say if any of the first 20 buttons are pressed, call AddtoSearchResults(text_of_button_pressed) right now I am doing it like this :/ Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Call AddtoSearchResults(Button1.Text) End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Call AddtoSearchResults(Button2…
Last reply by trend, -
-
- 2 replies
- 871 views
I have a datagrid, the data grid clontains these columns and data is fed by datareader from database. Columns: from time, and to time, diffTime, Quantiy, Price, total. difftime and total are calculation fields. difftime = fromtime - totime and total = quantity * Price. how to do?
Last reply by Ice725, -
-
- Leaders
- 2 replies
- 771 views
I have an array of 4-25 objects (normally) want them to raise an event at a specific time passing the information of which one they are. Say for example I just want to send another class a string containing some data. VS says I cannot declare a variable WithEvents if it's part of an Array. Is there anyther way to get around this?
Last reply by Denaes, -
-
- 1 reply
- 854 views
Hi :) Can anyone tell me, in a simple way, what means 'signed assemby'? Thankx ;)
Last reply by IngisKahn, -
Just stopped by to say hello to xtreme admins... how it's going ? you still got this nice and FREE forum up and running... respect!
Last reply by DR00ME, -
- 3 replies
- 880 views
How to call for update for one field e.g. 'ID' if we have 2 different databases that having different table name but same field name which is 'ID' ? If we want to update for field ID in table 1 database 1, then it should update for field ID table 2 database 2 as well..need help on this!! :(
Last reply by HJB417, -
-
- Moderators
- 4 replies
- 1.1k views
Hi All, I am having a nightmare at the moment. I have spent the last few hours working on a ASP.NET project runnig the code locally on my machine. The database is on a remote server. Anyway I got so much done and thought I would leave it there for today, so I used Visula Studio.NET to copy the project into a a folder only getting the files needed to run the application. I then uploaded the files onto my remote server web space (overwriting the ones already on there). When I clicked the link to the app I got the vague message: My web.cofig file has the following settings in it: <customErrorsdefaultRedirect="/JokePoint/error.aspx"/>. I have also tr…
Last reply by davearia, -
-
- 2 replies
- 1.3k views
I need to remove an object from an arraylist within a for each loop. every time i remove the object i dont need from teh array list, when it hits the next statement it exits out and says referenced object has a value of nothing. So is this possible? Thanks for your help.
Last reply by epic69, -
-
- Administrators
- 3 replies
- 3.5k views
Do yout know if I can read regional and language options of client windows in asp.net? I need know decimal simbol. Thanks
Last reply by PlausiblyDamp, -
-
- 3 replies
- 3.8k views
Ok so I wrote a program for my Algorithms class and Im a bit rusty on my c++ Basically it has a main .cpp file which calls all teh functions from a different file sorts.cpp (program runs mergesort, heapsort, quicksort and insertionsort) using dynamic arrays which are declared globally in the sorts.cpp file and they are initalized in a function, now if I dont call delete[] arrayname I get a CrtMemory() or something like that error if I input a large array size so I believe thats a memory leak or my freestore is being used up. Ok so my question is where do I need to call delete in order for it to work correctly, Ive tried making a function in sorts.cpp and calling it from …
Last reply by coldfusion244, -
-
- Administrators
- 5 replies
- 939 views
I am writing my program using VB.Net and Microsoft Access Databases under Windows XP. My program is to display chinese charaters from Access and suppose it is in Unicode format since I am doing it in Windows Xp and by using IME. (The data are all stored before deployment. In other word, data was pre-entered). My program is used for viewing purposes only. For deployment, it works perfectly under Windows XP. But, things are out of control when I install the system into Windows 98/ME. Some of the chinese characters are not able to be viewed. Why I said "some"? Because the Chinese Characters can be view in ListBox, TextBox, Messagebox, and ComboBox. But, it doesn't ab…
Last reply by georgepatotk, -
-
- 1 reply
- 846 views
I'm using 2003. Is there a way to manage namespaces easily in VB.Net without typing: Namespace Events End Namespace and moving your code between it for every class you want to include? I recall one of the niftier things about C# was that it automatically set the namespace to the directory structure of your project. If you created a folder called Events within a folder called Dependancies, every class within Events is now of the namespace Dependances.Events. I'd like to just put things in a folder or just select 8 files and add it all at once... maybe I'm just lazy?
Last reply by mskeel, -
- 4 replies
- 1.1k views
When the user clicks on a row in a listview box (arranged as detail), i would like to carry out an action. This is easily enough, but i am having trouble detecting what row the user click upon. I've thought about using Checkboxes, but only one must be ticked at any one time and i couldnt figure out a way to uncheck any other checkboxes when you tick one. Just looking for someone to point me in the right direction really. Thanks.
Last reply by Jay1b, -
- 0 replies
- 965 views
I am using custom classes to build my data objects instead of datasets but I have run into a problem with the databinding on a form when I have a Foriegn Key in my collection that points to another collection. What I am trying to do is have the Combobox that is holding the Manufacturer data be selected with each change of the record. Right now with the code below I get my records to scroll but the Combobox for the Manufacturer does not populate or change. Help! [Product Class] Public Class Product Private _Products_ID As Integer Public Property ID() As Integer Get Return _Products_ID End Get Set(B…
Last reply by darian1271, -
- 1 reply
- 3.2k views
Hello. Does anyone know how can I set the "active sheet" and "active cell" properties (that are do not exist...) of an office spreadsheet 11.0 component within VB.NET application (win form) ? Thanks! Tom.
Last reply by herilane, -
- 1 reply
- 1.1k views
it's possible vb.net program read the external data(parameter) and pass it to main form while start the vb program.
Last reply by yraykar, -
-
- *Experts*
- Leaders
- 9 replies
- 1.8k views
I was wondering how to create this method for Textbox. You guys have any ideas or not?
Last reply by georgepatotk, -
-
-
- Administrators
- 3 replies
- 1k views
i had two forms ....i set form1 in the startup_object when i press the button in form 1 , it show form2 . however , i close form1 , all the application will be end ... how can i prevent that @@? thx all >.<......i can't find the the FAQ
Last reply by PlausiblyDamp, -
-
- 6 replies
- 1.1k views
:( Could somebody tell me why I might be getting the following error. Tester.exe has had a problem and must close down. In my event viewer the following is shown Faulting application tester.exe, version 5.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x4de7640a. I have exception handlers in all my coded areas and also a global handler but it does not catch this one. Thanks for your time.
Last reply by Data Danger, -
- 1 reply
- 4.4k views
hi again. i'm using vb.net and Crystal reports version which comes with the .net to develop my windows application. i need to do something like follows: in my report i need to load a image run time. The image i need to display is in the hard drive and i know the path of the image (this is changing according to some constraints. therefore i cannot add this file in design time). i'm passing a dataset and viewing the report. how can i set the image path dynamically in my report. Pls Help. Thank you very much in advance.
Last reply by etatis,
-
Who's Online 0 Members, 0 Anonymous, 88 Guests (See full list)
- There are no registered users currently online