Topics
-
- 2 replies
- 568 views
Hi all, I would like to know wich way is the best to call other webforms or simply post some information, is using a asp Button or a simple html button inside a form? Thanks, Teixeira
Last reply by teixeira, -
- 3 replies
- 869 views
Hi ya all, I need a bit of advice on this one as I am unsure of the best way to do this :( , so all feedback would be appreshiated. I want to hold who is logged into my application, what I was just thinking was to have a logged in table within my database and when the user successfully log's in then the information is writen back e.g. username, date and time entered, machine number. The only problem with this is a couple of things 1) if my app crashes (hopefully not, but the user might do something strange :confused: ) then how would I ensure that the user is removed from the table? 2) If the user logs into the app more than once (different machine, or on the …
Last reply by rot13, -
- 3 replies
- 1.4k views
Can anyone point me in the right direction of how to send a message to another user / computer on network from vb.net. I only want to send a message to other users that are running my app. I will store user computer info within a database table i.e. computer name and / or IP address. I have seen examples of sending messages using the net send option, but to be honest I was looking for a way that could display a customised message window rather than the msgbox that net send displays. If someone could point me in the best way to acheive this, that would be great. Thanks Simon
Last reply by rot13, -
-
- Administrators
- 4 replies
- 1.2k views
Hello everybody! I'm sorry to post about this issue again but i've read almost all posts that i found and couldn't get the answer :o (stupid) (Nobody uses C++.NET anymore???) What i need to understand is how to bind a TextBox 's Text with a column of a Database Table. I ' ve connected my Form to a db Table named "Managers" creating an oleDbConnection and oleDbAdapter and then i generated a Dataset. I want now to bind the Text property of a Textbox, with the column "Name" of the table "Managers". So i write the following: textBox1->DataBindings->Add(new System::Windows::Forms::Binding(S"Text", this->dataSet11 ,S"Managers.Name" )); What's wrong wit…
Last reply by Psygnus, -
-
- 2 replies
- 1.7k views
Is there a way to remove the image from picturebox without disposing of the picturebox? A bit like setting a string variable to string.empty? Thnx
Last reply by EFileTahi-A, -
- 4 replies
- 1.7k views
I know this subject has been asked lots of times on this forum, but I have a slightly different situation and need a bit of guidance (as always :p) I have an application that when loaded, opens up a login form that just loads connection settings and checks connection to the database. The form obviously loads quickly. This login form allows the user to load two different forms depending on the selection of a combobox, either "Main App" or "Admin App". Now the problem is that both these forms "Main App" and "Admin App" take awhile to load. The way that I can see to get around this is to: 1) Load splash screen 2) somehow load login form (not visible) 3) somehow loa…
Last reply by lidds, -
- 3 replies
- 2.1k views
I am developing an application which makes the search request via the web service. Meanwhile the progress bar control is displayed to the user. Now, I am using a timer to update the progress bar. As far as I know, the System.Timer should start in the new thread... and here I am having a problem... Start the timer: this.timer.Interval = 100; this.timer.Elapsed += new System.Timers.ElapsedEventHandler(this.cbProgressBar_update); this.timer.Start(); And when timer elapsed, I want to update my progress bar. The progress bar owner is the main UI thread, but the event is raised in the timer thread. So I can't call in cpProgressBar_update method just this.progre…
Last reply by dinoboy, -
- 1 reply
- 862 views
Hi all, Have a dataset with the following structure: ID, Name, mobile_numb, email_add, message I also have a members table, with the following structure: ID, Name, mobile_numb, email_add, addr1, addr2, addr3, town, county, country, dob, active. The dataset contains some of the records that are stored in the database table. The dataset is loaded from another dataset that is stored in a session that was created and filled when the application was started. What I need to do is to take the records in the above mentioned dataset and compare it with the data stored in the database table to verify that it is upto date and valide. I know that I can do this one rec…
Last reply by jmcilhinney, -
- 11 replies
- 2.1k views
Using multiple forms in the same webform? Is there ANY way to do this in classic asp.net ? Here's my probleme: All my webforms are enclosed with the "<form runat=sever" tag. In this form, I usualy validate the main topic of the page. However, I would like to be able to use other forms in the same page. The other forms dont have to be runat=server, be it'd be a very practical thing. Basically, here's an example of what I would like to do: <form runat=server id="my main form"> //Here's my main form's input <input type=text name=toto runat=server> <input type=submit runat=server> //Here's my second form &…
Last reply by utilitaire, -
- 0 replies
- 2k views
Building an Asyc Socket DLL using C#, I followed MS .NET FRAMEWORK library sample (see "Asynchronous Client Socket Example") and created a Windows' Form EXE. This .exe has a form which has a button and a text field to invoke the async communication and display return data. <F5>, runs ok and data returned is being displayed. Without exiting the app, click on the button again, this supposed do the exact connect, send, receive, close and displaying data. But, the following comes up in a dialog box, ---------------------------------------------------------------------------- An unhandled exception of type 'System.Net.Sockets.SocketException' occurred i…
Last reply by just_starting, -
- 21 replies
- 2.5k views
<img src="<%=image_path%>" runat=server> ????? This is a very simple question: how do I put a string value into a tag runat=server like this: <img src="<%=image_path%>" runat=server> This simply doesnt work with the runat=server proprety. IIS does not replace the variable «image_path». I need to do use this variable because my images path is dynamic. Please dont suggest me to set the «src» property of the image control in the code-behind class. This is way too messy since I have more than 300 images in my template ascx. I can't just do: myImg1.Src = image_path; myImg2.Src = image_path; myImg3.Src = image_path; myImg4.Src = image_p…
Last reply by utilitaire, -
- 2 replies
- 1.2k views
hello, i must to make that, i have found this code that acomplish that, but, when i make the postback i loose all that i have done... how can i make so the changes are still there after the postback??? im making this little example for make a try... but at the postback i loose all data... Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Introducir aquí el código de usuario para inicializar la página If Not IsPostBack Then ListBox1.Items.Add(New System.Web.UI.WebControls.ListItem("Uno", 10)) ListBox1.Items.Add(New System.Web.UI.WebControls.ListItem("Dos", 20)) List…
Last reply by Rothariger, -
- 4 replies
- 10.2k views
I have a program that basically copies files from a unc path (//myotherserver/path/file.txt) to the local machine (d:\destpath\file.txt) it uses system.io.file.copy however, it says the remote path does not exist - this is because you need a username and password to connect to it is there any way i can specify this username/password within my program code? thanks
Last reply by sdlangers, -
- 1 reply
- 1.1k views
Hi, I am familiar with the select function from c++. I wanted to know if someone knows a way to listen to a socket for example with a something like the select function (that has a timeout as well). I need to receive unknown sized data from a socket in a non-blocking way , Therefore I am not sure that using "Socket.BeginReceive" is the best solution for me, because I will want to receive each time one byte because I don�t know the data size, which results alot of callbacks. I don�t want to use "Socket.Receive" because it�s a blocking function and then in case that I will want to cancel the working thread it will be a problem. Is there a way to do something like "selec…
Last reply by mhildner, -
- 1 reply
- 1.4k views
It has been a while since I have done this. How do I navigate through a datatable and get the datarow number of the current record? I thought that it would be something like this: 'go to first record me.BindingContext(dsVeh.Tables("tblVeh").Position = 0 'go to next record me.BindingContext(dsVeh.Tables("tblVeh").Position +=1 [\code] That code is giving me an error though by saying Position is not a member of bindingcontext. And I do not know how to get the current row number of the datatable, only the total count. Thanks, Chester
Last reply by cpopham, -
- 2 replies
- 1k views
Hi there. I'm running this website http://www.elefun.net for my company. It is an C# .net solution. Most of the website/product information and user information is based on an Access db. I've got some negative comments about Access db's like: 1. Access db's are bad and should not be used. 2. Access do not handle large db's well. So I've been considering to change to an SQL db for I while, but I really don't know if it's nesessary. My Access db is at the moment about 9MB. My questions are: 3. Is it OK to use acces db's for this kind of solutions? 4. Does Access db's get to large. If they do? When are they to large? 10MB, 100MB, 1GB. I really don't have any cl…
Last reply by VagabondSW, -
-
- Administrators
- Leaders
- 4 replies
- 2.3k views
I am working on a project, where I am trying to build a (large) 2D map with Icons on it. This works ok, untill I try to load map file (a 2500x2500 file), then my Texture.FromBitmap function crashes with the error message: -2005530516 (D3DERR_INVALIDCALL) in line: m_TextureHash[ imageName ] = Texture.FromBitmap( m_Device, theImage, 0, Pool.Default ); It works if I insted do this: TextureLoader.FromFile( m_Device, path ); But I want to manipulate the Image object, before I load the texture. How can I do this ? Thx in advance, -maZZoo
Last reply by nagajim, -
-
- 2 replies
- 777 views
Hello everybody i would like some help for the following issue: I want to populate a ComboBox with values from an Access DB Table everytime it initializes. I 've done all the connections right(datasets,adapters etc...). I have written the following code which i got from the .NET Help but it doesn't work: this->comboBox1->DataSource = this->dataSet41->Clientz; this->comboBox1->DisplayMember = S"Name"; There are no errors but no results too! Please Help Thanks in advance
Last reply by Psygnus, -
- 2 replies
- 997 views
Now I know there is no such thing as good free software, but there are some nice ones out there I'm sure...or at least hope... has anyone got any links?
Last reply by mskeel, -
- 1 reply
- 982 views
Hi All, <a class="glink" id="gl3" title="Get An OnlineCalculation" href="http://localhost/mip/default.aspx?Action=1003" target="_blank">Estimate</a> This code will currently open a new web page. But I would prefer to set its size something other maximised and also centre it to the screen. I have tried adding width & height attributes but the are not recognised in Visual Studio and make no difference when the code runs Please help. Thanks, Dave. :D :D :D
Last reply by mike55,
-
Who's Online 0 Members, 0 Anonymous, 75 Guests (See full list)
- There are no registered users currently online