Topics
-
-
- Administrators
- 6 replies
- 1.1k views
Hi, I have successfully setup forms authentication using a SQL Server database to store Usernames, Passwords and Session variables to pass user information between pages within my ASP.NET vb application. I have come across a problem however when more than 1 person logs in using the same username and password. How can I check if a user is logged in already in another session within the application? If I can check whether a username is already in use (logged in) then I can stop the second person logging in using the same name and therefore eliminate the problem. Any help would be appreciated, thank you. Martin
Last reply by martin_d_bell, -
-
- 0 replies
- 512 views
normally when we open a new crystal report, it will pop up a series of step tat can link to ODBC to choose the database and get the table..is it possible to hard code all the step, so i do not need repeat those step for every form when i move to another PC which have difference server name n database name..
Last reply by bshaen, -
-
- Moderators
- 1 reply
- 1.6k views
I need a good tutorial about how to give parameters to the page. ( see the title )
Last reply by Robby, -
-
-
- *Experts*
- 2 replies
- 1.4k views
Hi, I've just started looking into writing my own controls - I just ran through a tutorial, downloaded a few samples, played around a bit etc, and I was wondering... Is there any way to use my new controls without distributing the .dll? A project I'm working on is small and will be disributed via my website - probably less than 50 people will ever use it. I want to distribute it as a single executable, which I can do if I don't use my control it seems. Is there a way to just use my controls Class (one .cs file) to use my control, rather than using the .dll which I would have to distribute? Thankyou :)
Last reply by 3xodus, -
-
-
- Leaders
- 5 replies
- 1k views
Hello all! I have an ASP page with VB.NET codebehind pages that needs to watch for a specific file to exist in a specific locaiton on the web server. Here is the sequence of events: The user causes a file to be created on the server Software on the server will then pick up that text file and create a PDF from it (PlanetPress software - nice stuff) The PDF is written to a different folder in the website What I need to do is, after the text file is created, I need to watch the output folder for a specific file name. I obviously can't user a timer, so how do I watch a folder for a file? I'd hate to simply loop. What a waste of resource.... Thanks, Kahuna
Last reply by Mister E, -
-
-
- Leaders
- 5 replies
- 2.6k views
I have changed the desktop color value at - HKEY_CURRENT_USER\Control Panel\Colors\Background in the registry, but to get change to take effect I have to restart the computer. How would I make the change take effect without restarting the computer. Thanks in advance for any help.
Last reply by bjay55, -
-
- 1 reply
- 2.3k views
I'm having a problem where during the tabPage enter event I set a textbox on that tab page to have the focus. This works fine... The problem is that there are buttons on this tab page and when the textbox has focus after the enter event the first click of the button doesn't do anything other than remove the focus from the text box then it seems to work fine from that point on. The only other thing that is happening is the text box has a validation event that is firing when it loses foucs. I don't do any focusing in the validation event so does anyone have an idea of what is happening here. Thanks in advance
Last reply by qex, -
-
- Leaders
- 3 replies
- 3.5k views
Hi' I'd like to add a tooltip to MenuItem (member of ContextMenu) how can I do that? This code does not work (Value of type 'System.Windows.Forms.MenuItem' cannot be converted to 'System.Windows.Forms.Control'): Dim m As MenuItem = Me.ContextMenu1.MenuItems(0) Me.ToolTip1.SetToolTip(m, "blablabla") tx, matej
Last reply by Wraith, -
-
- 0 replies
- 675 views
I'm currently writing an application that could potentially have 200+ users obviously being able to do update, insert sql queries to the same database at any given time. I have been reading up on this problem and have been told that using transaction is the way to go? The problem that I have got is 1) finding examples of how to do this and 2) being able to check / set the COM+ service up automatically for my application using code? I was wondering if anyone has done this and would like to share there knowledge and examples if possible. As I am resonably still new to vb.net this is taking me into a new level, but I want this program to be written properly. A bit o…
Last reply by lidds, -
-
- Leaders
- 1 reply
- 1.1k views
Hello, is there anyway I can install or place any .NET dlls somewhere or is there a version of .NET that will allow me to run a .NET application even if the end user doesn't have .NET installed? This would be paticularly helpful when creating like autorun cds rather then trying to code all this stuff in legacy code such as C++ or VB. In the old VB, you could just place the needed runtimes in the same place as the executable and it would work just fine however I haven't tried this with .NET and besides, .NET seems by far too complicated to be able to do this. Thanks!
Last reply by snarfblam, -
-
- 1 reply
- 1.1k views
Hi all! well this is not in ASP.NET but in ASP, but maybe you guys can give me a hand here. Im building a site where on a back office you can upload images to be displayed on the frontend. The problme is that the image must be resised to fit in a frame. well the problem begins becouse you can upload images in portrait style or in landscape style and with diferent width and height and in diferent formats (jpg, gif etc...). so i dont know how to resise them in the frontend without "deforming" them. is there anyway in ASP for me to get the picture width and height?? if you guys could at least find me a way to get the properties in one format i would be glad, i …
Last reply by eramgarden, -
- 4 replies
- 917 views
Hi all, Have a dataset which contains a table called myTable. myTable contains three columns that match a table in my database in terms of names and datatyes. I have filled my dataset table will the necessary data. Is it possible for me to insert all the data in my dataset table into my database table in one move, rather than looping through my dataset table and inserting one row at a time. Mike55
Last reply by Afraits, -
- 0 replies
- 609 views
Is it possible in any how to force a row state to be "ADDED"? I need to mark as "ADDED" all imported rows from a DataTable to another one... Thanks.
Last reply by EFileTahi-A, -
- 2 replies
- 998 views
Hi in the SetColumnError, can i change the color of the little red cercle to blue, and can i write inside it an ( i ) instead of the ( ! ) Please i urgently need to know if we can Best regards
Last reply by OmarB, -
-
- *Experts*
- 3 replies
- 971 views
Help threads!! Please help!! I want to spawn multiple threads which will call a third party bitmap transition method. Basically enabling an image in a picture box to switch from one to another with a choice of transitions in between. Easy enough for a thread to do this sequencially. ie PictureBox1 5 second transition begins 1 sec .. 5 secs PictureBox1 5 second transition ends then PictureBox2 5 second transition begins 1 sec .. 5 secs PictureBox2 5 second transition ends The problem is that I would like to be able to perform 2 or more transitions at once. After querying support for the product, the advice to "research threading" was given.. thanks alo…
Last reply by Mister E, -
-
- 0 replies
- 1.1k views
Hi, I want to create an ASP.Net web application (like a synchronous chat program) that listens on a client for incoming data and then updates the client window when that data arrives. Only problem is I have no idea how to do this sort of thing and was hoping someone might be able to point me to a useful site or post that could get me started?? Thanks in advance!!
Last reply by hankthetank, -
- 2 replies
- 986 views
I have a couple of questions which I need resolved so please bear with me: 1. I have a vb.net app that uses a timer to read in documents. I have implemented progress bars to display the process but they don't repaint or refresh properly. Also, they loose focus. Is there anyway to fix this so that the progress bars display properly? 2. Is there any multi-threaded vb.net examples that uses multiple forms? All the examples I find on the net uses the console. Thanks, Jonathan
Last reply by Nate Bross, -
-
- Administrators
- Leaders
- 15 replies
- 1.6k views
I have a program with 2 forms and one textbox in each form. I want the value of the textbox in form one to appear in the textbox on form two. And if the users changes the value in of the string in form two and click the "Ok" button on form 2 I want form 2 to close and the altered string to appear back the the textbox on form 1. Basically I need help is understanding how to pass values back from one form to another. Any examples would be greatly appreciated.
Last reply by lothos12345, -
-
-
- Leaders
- 2 replies
- 1.1k views
Hi, Can i set child form for a for that is not MDI? Thank's
Last reply by snarfblam, -
-
- 2 replies
- 1.4k views
What form should I be using when I am letting an end user type an email body, to allow HTML to appear in it?
Last reply by Diesel,
-
Who's Online 0 Members, 0 Anonymous, 95 Guests (See full list)
- There are no registered users currently online