- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re: When I last made an installer for a VB6 application I used the [nullsoft](http://nsis.sourceforge.net/Main_Page) installation creator, which is very flexible and useful. I believe you can include a DLL with methods to be executed as part of the installation process, which could then be used to verify license keys and … | |
Re: Not sure about the [] character in your id and name values, is that causing them to fail to be found? I always stick with the basic rule for ids, which I think is: [A-Za-z][-A-Za-z0-9_:.]* | |
Re: There are free versions of Visual Studio, providing C#, VB.Net and a bunch of other languages which can now be used with .Net, including Python (search for Visual Studio Express). Your decision should depend on your requirements tho; are you doing web pages, or do you want client based applications, … | |
Re: If you want to use the system date and time you can use 'Now', as in: Dim dtmNow As Date dtmNow = DateValue(Now) I can't remember if dtmNow.Value can be assigned directly to a OleDbType.Date field type, but you can try it and see. | |
Re: Possibly remove the 'display:none' from your box class. You don't need those 3 boxes, you can just use one div and use jquery methods addClass and removeClass to change it's color. You have a class named currentConditions, but your code uses currentcondition. Sorry, apart from that I can't get much … | |
Re: Can you combine the 10 to 20 GET requests into 1? If you can pass a list if ids and return for example a dictionary of results, it can often be much better to retrieve a large chunk of data in one go rather than adding the overhead of a … | |
Re: Shouldn't line 10 be after line 30? You are assigning the value of the var before you create it. var phrase = wordListOne[rand1] + " " + wordListTwo[rand2] + " " + wordListThree[rand3]; _("phrase").innerHTML = phrase; For that matter, you don't need the go-between var phrase anyway. | |
Re: I think you should put the content data into the 'data' parameter in the ajax call, instead of adding it to the URL, such as: url: "submit.php", data: "{'content':'" + content + "'}", but it gets a bit tricky with the formatting of the value for the data parameter; the … | |
Re: If you want to have a value posted back in the form data you can use a hidden control: <input type='hidden' id='hidImageName' name='hidImageName' /> then update it's value when you update the image: function SetImage() { document.imgSrcOrig.src = myImgSrc + myImg[i] + myImgEnd; document.getElementById('hidImageName').value = myImg[i]; } function prev() { … | |
Re: I don't think you can position them. I remember you can create your own form and use ShowDialog, then configure it to be centered on parent. | |
Re: You may need to give a more detailed explanation of what you are trying to do, but I expect you need to save your data someplace from your web form, such as a database or a text file, then have you web page load the data using the appropriate retrieval … | |
Re: Did you solve your row deletion? As a quick memory test I threw this together: <table border='1' id='TheTable'> <thead><th>..</th><th>Article</th></thead> </table> <input type='button' onclick='AddRow()' value='Add Article' /> <input type='button' onclick='DeleteSelected()' value='Delete Selected' /> and script: articleCount = 0; function AddRow() { var tb = document.getElementById('TheTable'); var tbCount = tb.rows.length; var … | |
Re: Maybe add an id attribute to slideImg, not sure of document[place] is going to locate an element by the name attribute. eg: <img id="slideImg" name="slideImg" src="images/01.jpg" width="800" /> [edit] sorry, ignore that. The name attribute is ok. Tho there is a spelling error on your 'next' link; clearTimeout(tmierID) | |
Re: Is that HTML a complete copy of the code you are using? You have a body end tag instead of a body opening tag, and I cannot see the form opening tag, only the form end tag. If you change the button from a 'submit' to a 'button', just for … | |
Re: Read this interview... [Click Here](http://www.infoq.com/news/2009/08/Porting-SQLite-to-.NET-in-CSharp) There may be some useful tips there. | |
Re: [QUOTE=mr.mukesh;773582]how do you connect to a Excel database using c#[/QUOTE] You can use one of the Microsoft database connectors, if you have it installed, some may be provided by installing Office or other products. Your DSN string will be something like: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MyExcel.xls;Extended Properties="Excel 8.0;HDR=Yes;IMEX=1"; at least, if you are … | |
Re: I would try to set the SelectedIndex value on the select element, as in... [CODE] HtmlElement theList = webBrowser1.Document.GetElementsByTagName("select")[0]; if (theList != null) { theList.SetAttribute("SelectedIndex", "0"); } [/CODE] Remembering that the options in the select element are zero-based, the first option has an index of zero. -- Les. | |
Re: I think you want to use the vbmodal parameter with the form.Show statement. A modal form has focus and does not let you interact with other forms in the application until it has been closed. [CODE]form1.show[/CODE] opens a non-modal form, you can set focus to other forms in the app. … | |
Re: A quick search on "install vb6 on windows7" will get you a set of instructions to get that installation to work, some suggest you need to turn off UAC during the installation to get some of the files installed in system folders correctly, can't remember the other complications. I may … | |
Re: You remove the SelectedItem from the list, so I assume selection moves to the next item in the list. Copy the value from the list item into a string variable before removing it from the list. Use the string variable in the next method call. | |
Re: It sounds like you need to spend a little time studying some introductory material, such as this section on MSDN: [URL="http://msdn.microsoft.com/en-us/library/aa983614(v=VS.71).aspx"]Creating Windows Forms[/URL] In brief; a form is a definition of a class, you create an instance variable of that class type in your program, then you can display that … | |
Re: If you have IE8 you can debug the javascript using Tools/Developer Tools, I think that was installed by default anyway. You can step thru your code line by line and set watches on the variables. | |
Re: Try elementWhatever.style.display = "none"; and elementWhatever.style.display = "block"; to hide and show the element you are trying to modify. | |
Re: [CODE]var CurrentUrl = window.top.frames['frameName'].location.href;[/CODE] replace 'frameName' with the correct name - assuming you have assigned a name attribute to the frame element. |