161 Posted Topics
Re: [quote] After I started making changes (I did NOT actually modify the code in any way, just removed some references from the project that were not in use) [/quote] One of the references you removed was in use by the axleadlib. Put them back and then get it running then … | |
Re: You have to bear with me as i havent used 2003 in a long time. 2005 has the tabcontrol and i thought 2003 did. But i was using 3rd party tools too so they had them which is where my memory could be going wrong. Anyway. It is basically a … | |
Re: They are pretty similar. Rule 1 of logins though.. never present anything to a user until authenticated so dont call your main form and then the login form. In your app startup you could load (but not show) the main form. I prefer to use the MVC pattern and so … | |
Re: I am not quite sure of your requirements. You want a quiz and it has an id (say QZ1) and then you want a question with an id (say Q1) and then to associate it to the quiz... but you want to make sure that this question hasnt already been … | |
Re: Why do you need this? The session object is killed when they close the browser (i know you store information in there and may be worreid about it). Are you trying to achieve something else too? There are occassions where you want to know when the client is gone, but … | |
Re: It is because everytime you reload all the controls everytime - every postback. Remember the pageload etc is fired everytime you do something and is fired before the button click event, or selected change etc. so be very careful where you want things to run (ie choose your events - … | |
Re: you havent written an insert, update or delete query. Just a select query. your cmd is a "select" command it ONLY knows about getting data. You need a new command for each of the CRUD actions you intend to do (you should in theory write one for each but if … | |
Re: i hate to say it but the ONLY thing that looks correct on there is the google search. On both firefox and ie it is aligned right. However the page is a complete mess on ie. The left side is all overlapping etc. I havent looked at your html, css … | |
Re: I already gave you the code to get the seat numbers and put them into a table. Why didnt you just bind this table to the listbox? Then your table is ready to be saved in the database. | |
Re: You said you have 2 rows - one to left and one to right? Shouldnt they be columns? i got lost following all your code... couldnt you just post the part causing the problem so we dont have to wade through 300 <td>s and <tr>s? Couldnt you use divs instead? … | |
Re: it should be \i not /i for case insensitive in your re (first line of code) so you are possibly never getting a match. its is easy to miss as some others are / (for example /g for whole string) | |
Re: Either wrap the image in an anchor as Thomas said which will work for a click, or if you want it on mouse over as you say in your post you need to add a bit of javascript on mouseover for the image to open the new link. Personally i … | |
Re: The only way to achieve it when the server is down is to do some fancy dns and hope the updates propogate in time. If you have a mirror site then dont leave it for times when the other is down. Make use of it and load balance, that way … | |
Re: You didnt add the parameter to the da select command. You referenced it and set its value but it doesnt exist. In the line before you set the value you need to add a parameter with the name "@title". The command knows nothing about your sql query so you have … | |
Re: i would go with either java or c# as they are similar syntax so you can learn the othe pretty quick once your grasp the first. At the risk of being hounded out of the forum and possibly the planet i would not recommend the vb route. prior to .net … | |
Re: do you mean animated gifs? They can be made using a lot of standard photosoftware. Or you can build your own. Basically they are a set of still pictures with a timer in them to change the one showing to give the illusion of moving pictures. But then again all … | |
Re: im very very very rusty on dreamweaver. However in HTML it is the "title" property you need to set. Put whatever text you want in there and when they hover over it the "tooltip" will show up. This is cross browser compatible. However it is also limited. If you want … | |
Re: you need to use divs and stylesheets so it will be cross browser compatible and give you so much control. HTML is for content - CSS is for layout. If you try and stick to that you wont go far wrong. Just as some constructive criticism - the color scheme … | |
Re: Paris Hilton acts? I need to revisit the dictionary and look up the definition of acting lmao :D | |
Re: i am not clear on your request sorry :) are you asking how you can temporarily disable the back key on the browser? or disable the backspace key as a browser back key? | |
Re: Is it the users password or the application password? Its going to be tricky. Best place would be isolated storage and possibly some encryption but you wont stop a determined person finding it. I would have to ask why you have the requirement. It is obviously not your pc so … | |
Re: There a numerous ways to achieve it. There is no such thing as a "Dock" property in webpages, however there is positioning through style sheets and such. First of all you need to grasp the concept of a web page as opposed to a windows form from a developers point … | |
Re: Visual Studio .NET 2003 trial versions had an absolute expiration date too. I think it want activating. But to be honest i would get trial version of VS2005 express edition. They are currently free for a short time from microsoft site, but you have to download them. | |
Re: first try [code]strLoginName = Server.HTMLEncode(Request.Cookies["mydomain-LoginName"].Value);[/code] Are you not getting anything? Does your browser not accept cookies? Or only from certain paths? If it doesnt you wont get an error. Test with [inlinecode]Request.QueryString["AcceptsCookies"][/inlinecode] to find out. | |
Re: Why not use the checkbox list control? This automatically places them in an array (which is your other option with normal checkboxes) so you can loop through them | |
Re: First I am worried as to why you are creating VS projects on Win2k3???? It is recommended to develop the project on a local pc (Say running XP) and then upload the final site to a webserver. If you need to share the project with other developers there are ways … | |
Re: the problem is you are using the sa name and password but have set it to windows authentication only not mixed mode. take out the userid and the password and replace with IntegratedSecurity=SSPI that should work, i would also have an Initial Catalog=<databasename> in there too for your app | |
Re: I recently posted a tutorial under the .NET tutorial section on how to email a form in a few easy lines. [url]http://www.daniweb.com/tutorials/tutorial38004.html[/url] | |
Re: [code]dbtaccessRow = Dsaccess1.dbtaccess.FindByrnumber(rnumber) If dbtaccessRow.IsUsernameNull = True Then [/code] dbtaccessRow is null if there are no records matching in the db so before in between those two lines you need to check if dbtaccessRow is null | |
Re: welcome. That is a huge project to undertake for a beginner. There are so many new concepts for you to learn. No one will post the code here as it would take a long time to code it. You have a lot of design decisions to make first - will … | |
![]() | Re: that is because you copied from something before understanding what you were doing :D StringSplitOptions is optional for a start and is new in .net2 so unless you are using that leave it out. It is an enumerator so you cant just say StringSplitOptions you have to choose one of … |
Re: Use the code. This is the whole point of asp.net. You build a webpage on the fly and the asp.net engine will then convert it to html to output to the browser. Each requirement is different, but you can put any webcontrol on a webpage and give it a value … | |
Re: first of all what may be URGENT to you (ie your homework) is not urgent to us. Everyone feels their problem is #1 priority so please dont post as URGENT. My business and income is far more urgent than your homework. But we are here to help so here goes … | |
Re: You need the mouseclick event of the textbox. Then from the mouseevent args you can find out which button was pressed( e.button), left - right - or middle and call the method you want from there. You can also find the number of detents the wheel was rotated if it … | |
Re: Dont quote me but i think ie is a little less strict on interpretation of some css features than others. you might try background-image and see if it works. You may even have to code both, one for ie and one for firefox (seems like half my css is coding … | |
Re: I am slightly lost but i think i know what you mean. In design view in all VS (2002, 2003 and 2005) you can click the events icon in the properties box (normally you have it in properties view to fill in the name, text, color etc.). Switching to events … | |
Re: There is a limit and it is big from memory but i cant tell you off the top of my head. It is to do with the stacks heaps and the like. You really want to have that many nested loops that you are worried about a limit? | |
Re: I think he is on about the web admin page that comes with VS2005. Which is just a simple interface to both the webconfig and any providers. But i am not sure of what is missing or the rest of the web config? some light would help | |
Re: Why not just use the datalist control? You have full control over it then and much better for your situation than the grid | |
Re: Seems like i am your personal tutor huh? :p Anyway yes. System.Diagnostics.Process. There are a number of ways to get it to go. But in your case pass it the tecplot.exe path and the dat filename as a parameter (or it may need the dat file itself - i dont … | |
Re: First 2 are correct. last pseudocode is wrong. I think it needs to be something like [code] A if not c then b while not d { if not c then c D E } F [/code] | |
![]() | Re: Use the Directory, DirectoryInfo, File and FileInfo classes in the System.IO namespace |
Re: Which version of VS are you using? Is the app hosted in IIS? Have you made changes there? What "Changes" did you make just before it stopped working? Something is set in VS i think to make it start up looking for default.aspx but need to know which VS you … | |
Re: I am getting an apache server DoS attach everytime i open this post so beware. IT is only this post not the forum | |
Re: the dictionaries are not serialized as they are private. Serializers only work on public properties/fields and even read onlys have problem. In laymans terms for an object to deserialize it basically creates a new object and writes the values back to it. For an object to do this to another … | |
Re: [code]Do line = objRe.ReadLine() If Not line = "" Then objColl.Add(line) End If 'txtWord.Text = txtWord.Text & line & ControlChars.NewLine Loop Until line Is Nothing [/code] line will never be nothing so will keep looping indefinately hence the stack overflow | |
Re: 64 combo boxes???? You sure? My VB is rusty sorry (I am a c# person but it is the same in .net other than syntax mainly) so i will give you the pseudocode. On the combo2 selected index event handler do a Select Case statement for each value possible and … | |
Re: Doesnt the new .net come with SQL Express 2005 which is the new version of MSDE but much better? But as Plazmo said... what .NET thingy? Do you want to write asp.net pages? If so i would suggest you go to the ASP.NET forum here for some ideas. You dont … |
The End.