Topics
-
Control Visibility Order (One On Top Of Other)
by Guest afrinspray-
- Leaders
- 8 replies
- 2.9k views
How do I place one element in a form on top of another element (and make sure that it STAYS on top)? For example, if I want to use a picture box in a form, and then I want to put a label over it half-way through the running of a program, how can I be sure that it will always be on top? :confused:
Last reply by snarfblam, -
-
-
- Leaders
- 7 replies
- 1.3k views
Hey guys, long time no see! I've recently been away from VB.NET, playing with Blitz3D. It's an SDK designed to make simple directX powered games using the BASIC syntax, and since coming back to VB I've been thinking about how I can implement what I've learned from it in my applications. You see, ordinarily in VB when I need lots of the same class, I'll create an array of them - resizing the array when necessary. But in Blitz I can create classes like so: m.clsTimer=New clsTimer the 'm' designation can then be used with the scope of declaration to refer to the said class, and if I need to access it from outside the declaration I can loop through all instances o…
Last reply by snarfblam, -
-
-
- Leaders
- 2 replies
- 1.6k views
Supposed I want to create a button, and only need it's click event. Which one should I use: dim withevents button1 as windows.forms.button or dim button1 as windows.forms.button addhandler button1.click,addresof button1_click Which is the best and why? Thanks in advance
Last reply by snarfblam, -
-
- 0 replies
- 948 views
Well, here is a rough idea of what I want. I need a better way to prime this. This is looping through a collection of player objects obviously I don�t want to add the first player objects together just ones that match names throughout the file and then remove the other unneeded player objects from the collection. It�s creating the totals for certain items off of one of our servers. I want redundant player names to be totaled and stored in the first instance of that player object. The rest of the redundant players eliminated. Think I wrote to much code today... :confused: Been writing code since about midnight last night. Sleepy now :confused:Hate when you get going on som…
Last reply by AFterlife, -
- 9 replies
- 1.5k views
Hello everybody i am a bit stuck at the moment i have want to create a program that sends e-mails to a specified e-mail address, my mother doesnt have a clue on how to send e-mails so i am creating her an email program where she types then presses a btton and it sends to me, my e-mail address is a hotmail account is there anyway of sending an e-mail on the click of a button from a windows form? thankyou in advance
Last reply by Nate Bross, -
- 0 replies
- 618 views
I have two applications. A class library (data access, etc) and a Web Application (GUI, basic user input checking, etc). My question is what is the best way to pass parms to the class library? For example, I have a function that reads a Db/2 database and returns a record set, at the moment the connection string is hard coded; however, in production it will be dynamic. Should I pass the connection string as a paramater to the function, or use my own XML file? I want to edit the parms without recompiling. WebApp -> Reads Web.Config parm -> Passes parm to Class Library or WebApp -> Calls Class Library -> Class Library reads it's own config file for th…
Last reply by Nate Bross, -
-
- Administrators
- 5 replies
- 1k views
This is the situation: The asp.net 2.0/VB.net app we're developing will be localized in both English and Spanish. I will use database localization. My thought is to create user-controls for each set of lables on a page, then populate the lables based on the language and have the user-controls cached.. I think probably, it will be hard to arrange the user controls neatly on the page. Not sure. Anyone has other ideas? thanks
Last reply by Gill Bates, -
-
-
- Leaders
- 2 replies
- 961 views
I have written a program that is kind of a wrapper for a low level program. The Heirarchie looks something like this. Batch file for USB port Calls EEprom Loader Calls Errorlevel Processor (C#) C# GUI Calls Bat Files for 4 usb ports in order The gui program monitors the process to see when the eeprom loader has finished, when it has finished it reads the text files created by the Errorlevel processor, displays the results then runs the next bat file. The problem I am having is when the GUI detects that the loader has finished and starts the next batch file it should update its display to show what happened and to tell the user it has started on the next po…
Last reply by MTSkull, -
-
-
- Administrators
- 1 reply
- 1.5k views
I have a native C++ (not COM) DLL that has classes in it. I would like to call it from csharp - create class objects, and invoke functions. What is the best way of approaching this. I donot have access to the source, all i have is the .h files and the dlls. I am not really very familiar with P/Invoke - is that the only option? Thanks in advance! Linesh
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 3 replies
- 2k views
Hi. I'm trying to design a card game and need to show the user its own hand. I first tried using PictureBoxes, but the problem is with transperency (see image at the end). Then I used this.CreateGraphics() to draw the image directly into the form, but besides being much more dificult to handle, I need to have some events so that I know when the mouse is over the Image, when the user has Clicked the image and so on. http://www.geocities.com/jotomicron/Cards.PNG What do you advise?
Last reply by snarfblam, -
-
-
- Leaders
- 2 replies
- 932 views
How do I make a comboBox ReadOnly... I only want the user to be able to choose from the drop down not write in their own stuff.
Last reply by snarfblam, -
-
- 0 replies
- 880 views
i want to create a simple site using passport, just cause i have time to spare. as far as i know i wont be charged for this while using a dev account. i have a few questions though. when regestering for a passport account for my site with microsoft, it asks for domain, and DNS. now, as im debugging and dev'ing using VS 2006, the domain is simply localhost, so should i give them the name of my machine? what do i give them for dns?
Last reply by fguihen, -
- 0 replies
- 1.3k views
hello again everyone, i have been trying to send emails for the past week or two now and still have not acheived it, i am now goin to use my yahoo email for sending the emails, he smtp address is smtp.mail.yahoo.com, when i run my program it says that i need authentication, i have been to this website http://www.systemnetmail.com/faq/4.2.aspx it loos promising but i do exactly what is says there and it still says that i need authentication, does anybody have any ideas? i am using .NET framework 2.0 and using the system.net.mail
Last reply by bluejaguar456, -
-
- Administrators
- 1 reply
- 1.2k views
i want to hash a users password and store the hashed value on a database. i want to know where to perform the conversion to hashed value? should it be in jscript on the page, or in c# code on the server? if its done in c# code on the server, the raw password is sent to the server first, and i imagine this is not as secure as doing it on the machine and then saving the hashed password. what have you implemented in relation to this?
Last reply by PlausiblyDamp, -
-
- 2 replies
- 1.4k views
Hello everyone i have recently put up another post, but all i want to know what the email server address is for hotmail does anyone know it or anything about it? :)
Last reply by Malfunction, -
-
- Administrators
- 8 replies
- 1.3k views
Hi, I have developed an ASP.Net (1.1) application. It uses Windows Authentication. I have a database that contains a USERS table that list all the users that have access to the application. In the Session_Start sub I read the Request.ServerVariables("LOGON_USER") variable and check the USER table for this username. If the username doesnot exist in the USERS table i redirect him to a webform (UserError.aspx) that displays a message that he doesnot have access to the system. In the page Load of this form I call Session.Clear() and Session.Abandon(). This seems to work fine , but with one glitch. If the user access the application for. e.g. http://server1/App1/Defa…
Last reply by Rattlesnake, -
-
- 2 replies
- 1.5k views
i have found tons of tutorials to make simple login pages in asp.net but none outline the process, saying what happens. its usually a jumble of code. can someone say step by step what hapens, like , whats checked first , the config file or the database ? i just need a simple step 1, step 2....not looking for code or anything. thanks all
Last reply by fguihen, -
-
- Administrators
- 2 replies
- 911 views
I have a textboxdate with a string value in it... the string is going to be a date... for example '9/17/2006'. I want to make another combobox equal to that day plus the next. I know how to do it like this... txtbox1.text = DateTime.Now.ToShortDateString combobox1.items.add(DateTime.Now.AddDays(1).ToShortDateString) but i want to not do it off of todays date but whatever date is in the textboxdate.
Last reply by Talk2Tom11, -
-
C++ offers a special kind of type that is not present in C#: a union. For anyone who is not familiar with unions, here is a quick explanation of how they work and what they're good for. How They Work A union is somewhat like a struct. A union definition defines a type. A union type has fields and methods like a struct. The key difference is that a union stores all of its fields in the same memory location, whereas a struct stores each field in a different memory location. http://ilab.ahemm.org/imgHost/nonunion.gifhttp://ilab.ahemm.org/imgHost/union.gif What they are good for The primary use for a union is to conserve memory. Because the fields are stored in …
Last reply by snarfblam, -
-
- Administrators
- 3 replies
- 2.2k views
Hi there, I'm sure you are all familiarized with the application settings in .NET (See screenshot). In my project i have a class named X. How can I create an app setting of type X? Gracias
Last reply by PlausiblyDamp, -
-
Who's Online 0 Members, 0 Anonymous, 49 Guests (See full list)
- There are no registered users currently online