594 Posted Topics
Re: [CODE] Dim userid As Int32 = Me.classname.UserID Dim strSQLD As String = "Insert into table1 (userid) values (" & Me.classname.UserID & ")" [/CODE] You need to concatenate the value into the string, I beleive VB.Net will implicitly convert UserID to a string, otherwise convert/cast it first. UserId by the way … | |
Re: I've used Bloodshed too, very good for beginners. If you like bells and whistles Microsofts EVT C++ is free from their site, It's designed to compile for programming mobile devices like smartphones or pocket PC's. I've done a couple of tools for my Pocket PC on it, it's a great … | |
| |
Re: I got married. Here's what I've learnt: Whats hers is hers and what was yours is now hers too. If you have children, forever after the pains of labour will be used to win any disagreement she can't win with rational argument. Uninterrupted time longer than 5 minutes suddenly becomes … | |
Re: You don't create a static IP, you either have a dedicated public ip address that never applychanges from your ISP or you have a dynamically assigned one from your ISP. Apply the public external static ip address issued by your ISP to the external or WAN interface on your router. … | |
I'm playing around with c# cos I was bored and I wanted to have a go at making a simple windows service that spits out a quote of the day if you telnet on a certain port. I have it working but I'm not sure of the best way to … | |
Re: Open Office is free and opens Microsoft Office documents very well, download and install that. I use it myself. [URL="http://download.openoffice.org/2.0.3/index.html"] http://download.openoffice.org/2.0.3/index.html[/URL] | |
Re: [HTML]<script type="text/javascript"> var theText = document.forms[0]["txtFieldName"].value; </script>[/HTML] That's how to reference a control in an HTML form, but after you submit? I don't get it. More info required. | |
Re: [code] SELECT Name + '\n' + Street + '\n' + ZipCode +'\n' + City FROM Customers WHERE (CustomerID = @1) [/code] This assumes none of the columns allow NULLS. Otherwise you will need to use ISNULL(name, '') + '\n' + ... etc Set the TextMode property of you textbox to … | |
Re: I'm not certain of what you require. But perhaps you need DBNull.Value this represents a null database value. For example you can comapare a value in a DataSet to DBNull.Value which returns true if the value is null. [code] if(myDataSet.Rows[0]["columnName"] == DBNull.Value) //the value is null. [/code] | |
Re: Out of range means you are trying to access an item in a collection that doesn't exist. Take Cells for example, Cells(0) is the first cell in the Cells collection, if there is only 1 cell in the collection and you try referencing Cells(1) then you get an out of … | |
Re: You need to set the Checkbox AutoPostBack property to true if you want it to post back as soon as it's checked/unchecked, or you need an asp: button to click. with the button solution checkedChanged will fire server side for any checkboxes that have changed state since the last request. | |
Re: You can't, but you can re-distribute an access run-time engine that means people can run the db withpout having to have Acces themselves. To be allowed to do that you must be a licensed holder of Microsoft Office Developer edition. [URL="http://www.developer.com/tech/article.php/721181"]http://www.developer.com/tech/article.php/721181[/URL] If all your users have Access, just put your … | |
Re: [CODE] try { //..erroring code } catch(ApplicationException ex) { //Code to handle error condition eg: Response.Write(ex.Message) } [/CODE] | |
| |
Re: I think I'm androgynous, but there's no option in the poll for that boo hoo. | |
Re: There is a runtime only re-distributable (if you have Acccess developer license) Search google for: access runtime and check out links like these : [URL="http://office.microsoft.com/en-us/assistance/HA011208861033.aspx"]http://office.microsoft.com/en-us/assistance/HA011208861033.aspx[/URL] [URL="http://www.developer.com/tech/article.php/721181"]http://www.developer.com/tech/article.php/721181[/URL] | |
| |
Re: It's been (except the English defeat and Portugals outrageous diving) a fantastic World Cup and it's all over so fast (sigh!) I have watched or listened to almost every match on 5 live and TV and it's been amazing. I don't care if Italy or France win coz I got … | |
Re: Your dog's tail is dogged and chewed, and not canicular. | |
Re: [URL="http://www.atsdistribution.co.uk/"]http://www.atsdistribution.co.uk/ [/URL] I signed up with these guys, they're above board, but really their catalog is pretty much crud, if you search any of their items in ebay you get like a million squillion hits !! Despite that I did manage to offload a rocking horse thing through ebay, and … | |
| |
Re: hisiddhu, please don't hijack threads start your own. [QUOTE]Note : before this has happend, it has given a high frequency (on off) beeps continuously, then I have restarted the system again.[/QUOTE] This is commonly indicative of an overheating CPU it may have become damaged, or the motherboard may have been … | |
Re: Try this: [code] Adodc1.RecordSource = "SELECT * FROM [COLOR="Red"][User][/COLOR] Where user_name='" & Txt_Name.Text & "'" [/code] If that doesn't work, check the table name 'User' is correct in your database. | |
Re: Right Clcik MyComputer, select properties, System Restore tab, check the "disable system restore" tickbox. Do your spy ware sweep and delete. Reboot Go back and re-enable system-restore. Let us know how you get on. | |
Re: [QUOTE]Can you please ask the question in few words ?[/QUOTE] I think the OP is just volunteering a tutorial. | |
Re: [code=csharp] protected void ddPageSize_SelectedIndexChange(object sender, EventArgs e) { GridView1.PageSize = Convert.ToInt32(ddPageSize.SelectedValue); //Re-bind the grid however you're doing that, in a seperate function //if you're sensible. } [/code] | |
Re: Cells are zero baseed so the first cell is Cell[0]. Cell[1] is the second column. Maybe that's your issue? | |
Re: Even though signature links are usually 'nofollow' they still get you traffic. Just not page rank. But if you are in a relevant and high page ranking forum or ezine site blah.. and you make sure to sprinkle your keywords in posts here and there, your posts can have excellent … | |
Re: Yep, that's it :) | |
Re: Don't restrict yourself to just learning PHP stuff. You need to know things like the TCP/IP protocol and telecommunication to understand what HOSTS and PORTS and IP's are and the Server/Client model yadda yadda... I've been reading for 7 years and there's still stuff I struggle with even now especially … | |
Re: Yes 4 relate to how many bytes int uses in ram per value | |
Re: [QUOTE=RJL1265]I keep losing my network connection every 2 hrs. like clock work. It begins from the moment I first log on. I start with it connected for a few seconds then I lose it from anywhere from 30 seconds to a minute and repeats every 2 hrs. all day long. … | |
Re: Do you mean CSS class? If so setAttribute should work. I've not tested this. [code] newElem.setAttribute("class", "draggable") [/code] | |
Re: [CODE] <% filePath = "path to the word file" response.Buffer = true response.Clear response.ContentType = "application/ms-word" response.CacheControl = "no-store" Set objStream = Server.CreateObject("ADODB.Stream") objStream.Open objStream.Type = 1 objStream.LoadFromFile filePath response.BinaryWrite objStream.Read objStream.Close response.Flush response.End %> [/CODE] | |
Re: In my opinion there is only one legitimate reason for a smack and that is when a short sharp shock is required to get a childs attention when they are so out of control they have become incoherant. It can be a very confusing time around 2 years of age … | |
Re: Well you need to read the book and do what it says, if you can't figure out what it's telling you post here and we'll try and help. It's hard to say where to start other than the above becuase I have no idea from your post what you know … | |
It occurred to me today (through an experience I shall describe shortly) how when using a computer; what starts out as a simple task; can often become a super-human effort of will as one thing leads to another. Example: I was randomly reading the internet and I stumbled upon GME … | |
Re: I agree I have always felt the term web developer is under valued, I refuse to accept it as a title even though it is what I currently do. I describe myself as a software developer. Because there is so much more to my experience than HTML, ASP, PHP blah … | |
Re: Use ADO to connect to the excel file using MDAC (Microsofts Data Access components) [CODE]'Read Excel File Using ADO Public Function Read_Excel _ (ByVal sFile _ As String) As ADODB.Recordset On Error GoTo fix_err Dim rs As ADODB.Recordset Set rs = New ADODB.Recordset Dim sconn As String rs.CursorLocation = adUseClient … | |
Re: [code] update <tablename> set MobileNo = replace(MobileNo, '-', '') [/code] You don't mention the name of the table so replace <tablename> with the name of your table (minus the chevrons obviously) I ALWAYS backup my database before these kind of large update operations. In this simple case instead of a … | |
Re: [code] a.tablecellhyperlinks:link { text-decoration: none; } [/code] | |
Re: [QUOTE]ive never had a proper girlfriend which is really depressing[/QUOTE] (Looks wistfully upwards) I remember the agony of being young and wondering how the hell I was going to get a girlfriend. Somehow I managed it her name was Melanie, we met on an activity weekend. I discovered having a … | |
Re: I like Gentoo for it's flexability even shitty DELL's can run it fast cos you can really optimize the kernal in an easy way. I like Ubuntu/kubuntu cos you can chuck it on old laptops and pc's and it's easy peasy! | |
Re: when you create the buton are you setting up the event handler? [CODE]this.EditButton.Click += new System.EventHandler(this.EditButton_OnClick);[/CODE] Normally this created behind the scenes by visual studio. | |
Re: What database are you using? OLE is slow but may be your only choice. Also use a reader (forward only cursor) instead of a DataTable, it's faster for this kind of scenario. But, consider the design. 2500 options in a drop Down List box ??? I can't think of any … | |
Re: Stored procedures need to be created using the CREATE PROCEDURE statement and then executed (F5 or the green play button in the toolbar). They are compiled and stored in the database itself. If you choose save in the Mangement Studio file menu this is just a convenient way to save … | |
Re: greeny_1984: Well that would just exhibit the same behaviour as whats currently happening. But you're on the right track. Image buttons are rendered as type="submit" which means when you press the enter key it is assumed you are submitting. This is an HTMl Forms standard thing. You need to place … | |
Re: Just some random thoughts from someone who smokes for pleasure. It is possible I am deluded and that it's just an addiction. But I certainly lack the desire to give up. I can't believe not a single mention has been made about all the other things that put carcinogens into … |
The End.