161 Posted Topics

Member Avatar for jeel

use the javascript timer function and set its interval to be the time entered. using your example setTimeout("alert('Some Message!')",5400000); the 5400000 is the number of milliseconds before the function fires. 1 hr and 30 minutes = 90 minutes = 5400 seconds = 5400000 milliseconds.

Member Avatar for f1 fan
0
79
Member Avatar for yuenli

I assume this is some homework? It can be done using a grid or table. You can then react to cell events if you wish. To save it in a database you have to run through each cell (ie every column in every row) one at a time and save …

Member Avatar for f1 fan
0
68
Member Avatar for popson

Firstly you need to install SQL Server Express on the web server as it may not be installed. Then you need to copy your database to the correct place (as it says the database is not there). then you need to configure SQL Server Express to allow user instances. Then …

Member Avatar for f1 fan
0
141
Member Avatar for kapil.goyal

that is extremely dangerous for a number of reasons. Firstly does the end user know you are taking their files? What is to stop you taking other files such as their password etc. Secondly how do you know they arent malicious and put a virus or something in its place …

Member Avatar for f1 fan
0
71
Member Avatar for greeny_1984

you need the very simple String.Split() method. your string will be the textbox.text field and the delimiter will be a space. This returns an array of strings. This is C# but VB is 95% identical [code] //I did this the long way for you to follow char[] delimiter = new …

Member Avatar for greeny_1984
0
109
Member Avatar for pen2satya

single row = executereader single value = excutescalar. This will return the first column of the first row only so will not be any use for a single row that has more than one column.

Member Avatar for f1 fan
0
108
Member Avatar for shy_wani

no easy way sorry. You have to get an array of datarows where the surveyid = the surveyid of the row you deleted (140 in your example) and sorted on the question number column. Then run through each one and redo the question number using a count e.g. [code] DataRow[] …

Member Avatar for f1 fan
0
152
Member Avatar for stumaca

use a string builder if you want to make it yourself. [code] stringbuilder sb = new stringbuilder; sb.appendline("<table>"); for (int i=0; i<=arraycount; i+=2) //for vb people it is For I = 0 to arraycount Step 2) { sb.appendline("<tr>"); sb.append("<td>"); sb.append(arrayvar[i]); sb.appendline("</td>"); sb.append("<td>"); sb.append(arrayvar[i+1]); sb.appendline("</td>"); sb.appendline("</tr>"); } sb.appendline("</table>"); //now put it …

Member Avatar for f1 fan
0
227
Member Avatar for shy_wani

ahhhhhhh the oldest mistake with webpages that everyone forgets about. This is web pages NOT windows forms so you have to remember the difference it is VITAL! See your event handler at the top? [code]Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load [/code] It fires every …

Member Avatar for shy_wani
0
101
Member Avatar for mathuniga
Re: Asp

We need more information... post the line or two of code that throws the error.

Member Avatar for f1 fan
0
88
Member Avatar for Peai Chun

I dont know Visual Web Developer but if you are using .net 2 framework then everything is built in for you. Use the membership class. Even if you dont use it and roll your own you should have one table for logins and passwords and then the users have roles …

Member Avatar for jabijohn
0
125
Member Avatar for aerian

you would have to write javascript so that on each keypress you would check the script against the array and return the next item in the array. If you wanted to do it server side you can do the same against a larger array using ajax. AFAIK MS Ajax 1.0 …

Member Avatar for f1 fan
0
149
Member Avatar for BalagurunathanS

in your html code you need <input type="button" value="Print" onclick="javascript:window.print();" />

Member Avatar for f1 fan
0
72
Member Avatar for GeneM

if the texbox was bound to the database and there is no value then num1 num2 etc. is empty or null, neither of which will parse to a double to be able to be added. You need to do a test to see if they are null or empty and …

Member Avatar for GeneM
0
176
Member Avatar for r_jack

to get the grid view to display the data then just bind the datasource you created to the grid (you can do it in the form designer in VS2005 To protect it so only logged in people can see it, either protect the whole page (use webconfig to protect different …

Member Avatar for f1 fan
0
119
Member Avatar for blacklocist

css css and more css! your asp.net web sites should be split into 4 areas - the aspx page with just html (just what needs to be in the browser), the aspx.vb or cs code behind file with all the server processing, a folder full of css files (for presntation) …

Member Avatar for jbennet
0
207
Member Avatar for Joycelyn

document.all doesnt work in all browsers as far as i know. use the more robust document.getElementById("myRTF") That doesnt always work either especially with older browsers.

Member Avatar for f1 fan
0
96
Member Avatar for Windows3.11

my vb and my VS2003 are very rusty so there may be a better way than this. You just get the record from the dataset/datatable and set the textbox.text or label.text = to the rows cell for the relevent data. eg dim arow as datarow textbox1.text = arow("firstname") label1.text = …

Member Avatar for f1 fan
0
59
Member Avatar for mikefitz

It doesnt by default for a website in VS2005. you would just upload your aspx files to your webserver. You can get it to compile to a dll and upload the dll if you want. It is more secure on the webserver but harder to maintain. I usually keep my …

Member Avatar for f1 fan
0
89
Member Avatar for lordj17

dont you use the built in memebership providers? all the information is done for you. When a user is logged in and you need to know their information at any time just call Membership.GetUser() and it will return the current logged in user who made the request. It caches it …

Member Avatar for f1 fan
0
146
Member Avatar for omnis

in answer the original question your page references were incorrect. you have to get a reference to the calling page from the Server.Request object. Cast that to a Page object then findcontrol for your tabs. This is better than javascript as it is all done on the server. There are …

Member Avatar for f1 fan
0
228
Member Avatar for karan_21584

the error is in your dbmig dll. The reason you see the error is you dont have debugging on that dll (probably because you have just the dll and not the source code there). In the code in the dll you are trying to connect to the database but your …

Member Avatar for f1 fan
0
74
Member Avatar for someoneelse

use the formview control and bind it to a datasource control which is configured to access your database. If you use VS2005 they are there and very simple to setup (follow the wizards). Drop a form view onto your page, where it says datasource use the drop down to make …

Member Avatar for blacklocist
0
105
Member Avatar for stixoffire

for much nicer rollovers and other more powerful tools use AJAX. Get the microsoft ajax toolkits and most of it is done for you.

Member Avatar for stixoffire
0
106
Member Avatar for bubbliciousbar

the easiest way is to put a response.redirect in the header of the page with the delay set to the same timeout (10 minutes in your case). Everytime the page loads after 10 minutes it will redirect the user to the page. If the user submits something and refreshes the …

Member Avatar for bubbliciousbar
0
164
Member Avatar for meme960

either flash or an animated gif if it is nice and simple. an animated gif is a series of "still" gifs put together one after the other and played fast (just as a normal movie is created). No extra tools are needed by the end user then - just a …

Member Avatar for f1 fan
0
179
Member Avatar for Joycelyn

the problem is because you deleted the form in your html code. You have no form therefore you cant postback to the server. As you have no form the postback script you hightlighted couldnt find the form so couldnt get the viewstate. Why did you delete it? You have to …

Member Avatar for f1 fan
0
235
Member Avatar for Jhon100

why not use the system.net.mail namespace if it is just for sending mail? I use it all the time and is very powerful.

Member Avatar for f1 fan
0
61
Member Avatar for Coool Pinky

But the question he asked was so open ended. Is it windows or web or web services login? VS2002, 2003, 2005? What datasource? XML? SQL Server 2000? SQL Server 2005? Notepad? Webconfig? Excel? Access? etc. Login for the whole app or part of it? So thats why he was "jumped …

Member Avatar for jbennet
0
199
Member Avatar for jeepj27

there are a couple of ways. The ALT Print screen is ok but you need a something like photoshop to up the resolution. Again it also depends on how you save it (png, bmp, jpg, gif etc). Also what resolution is the screen you are capturing on? Another way is …

Member Avatar for DanielSmith
0
142
Member Avatar for daidaiboyboy

You can bind the Datagrid to arrays and other similar collections. Which version of VS are you using? If you are using VS2005 try the DataList control, it is much better for your use and you can code tables in the templates

Member Avatar for gedarufi
0
519
Member Avatar for cath120

Just to point out... you do know it is illegal right? Anyway the best way to convert a cd is using any one of the many free players out there such as win media player, real audio player etc etc. All have built in rippers and support multiformats - though …

Member Avatar for .Pat
0
464
Member Avatar for tgreer

Not had time to look over the code yet sorry. Couldnt you put a repeater in a user control and then you would be able to expand every one? I cheat. I bought the Infragistics controls years ago as they save me so much time. They have had hierarachical grids …

Member Avatar for BoggyBoy
0
429
Member Avatar for stackOverflow

you wont have lost your project it just cant open it as there doesnt seem to be a webserver on your pc. I have googletalk and it isnt interfering. 1. What version of visual studio are you using? 2005 or 2003? 2. What version of windows are you running? 3. …

Member Avatar for muthu
0
381
Member Avatar for ep2002

I use wire transfers which vary in price or for small amounts i use Western Union. It is instant. Also in the USA (and i think Canada) you can do a lot online with Western Union. As i said the best way is always a wire transfer

Member Avatar for globalguy
0
505
Member Avatar for barry t

you create an unbound column in the sales and use the Expression property whose value is quantity*price (assuming those are the two column names). Only create bound columns if you want data saved in the database or pulled from the database (you could have created the column in your query …

Member Avatar for plazmo
0
223
Member Avatar for muthu
Member Avatar for pdzine
0
114
Member Avatar for muthu

what version of visual studio, windows and IIS are you running at home and at college?

Member Avatar for Letscode
0
152
Member Avatar for EmilyBrooke

Whats the problem? you didnt say if there was an error. What is the value in the registry? Is it a delimited text?

Member Avatar for f1 fan
0
725
Member Avatar for aifiereena

Lets make it simple and to the point. 1. This is C# not C++ forum 2. Read the forum rules.. we dont do your homework for you 3. If you want help then post code using the code tags, and ask specific questions giving specific error messages at specific points …

Member Avatar for f1 fan
0
95
Member Avatar for augie0216

maybe consider using a property for each of these. It would appear that you will want something outside of your class to change the values so you dont want to make your fields public (or internal) as you have no control over the values in there. To create a property …

Member Avatar for f1 fan
0
100
Member Avatar for jcrcarmo

What are you using to deploy the project? If you create a setup and deployment project you control the install directory there (though if you dont want the end user to be able to change then you have to do some changes to the setup UI too - though i …

Member Avatar for f1 fan
0
159
Member Avatar for aoude

You really posted this in the wrong forum, but i am sure someone will move it for you. [quote] DoCmd.Close acForm, Me.Name [/quote] My vb is rusty but i dont see acForm declared anywhere. What is it? Seems like its your problem. What development tool are you using? Visual Studio? …

Member Avatar for aoude
0
167
Member Avatar for CLIPER

Dataadapaters. it is .net not just asp.net. Use the built in csv driver to import straight into an ado .net dataset via a dataadapter. Then you can export it into access.

Member Avatar for CLIPER
0
201
Member Avatar for aamirbabar

you can use a custom validator in .net or any of the built in ones. By default all validators run on the client and on the server if java is not enabled on the client, so that solves that problem straight away. Depending on your exact needs you just need …

Member Avatar for f1 fan
0
200
Member Avatar for bashi

[quote] I want to develop a software in C++, Java or VB to develop a software /tool [/quote] so he asks in a C# forum? lol

Member Avatar for f1 fan
0
173
Member Avatar for Killer_Typo

Thats making things difficult. Normally a calulator works it out on the fly. When you press 5 then + then 4 then the next key you press the display would show 9 while it waited for the next number. Basically there are two groups... a number and an operator and …

Member Avatar for f1 fan
0
256
Member Avatar for student_help

Paste that code above in your button click event. In the second line - p.StartInfo.FileName=file; replace the word "file" on the right of the equals with the name of your program you want to start such as 'notepad.exe' and it will do the rest. make sure it is a string …

Member Avatar for plazmo
0
150
Member Avatar for Naters_uk

you made a small error... you didnt set 'name' to anything. [quote] Dim name as string Dim item As ListItem = listbox_seatsbooked.Items.FindByText(name) If Not item Is Nothing Then [/quote] need to be [code] Dim name as string = thebutton.tag 'that is assuming you set the tag to be the seat …

Member Avatar for Naters_uk
0
321
Member Avatar for gkpowell355

I have extensive programming experience, especially .net and the .netcompactframework which is what we need to develop in for that os. Send me a pm and we can start a discussion on your needs.

Member Avatar for iamthwee
0
124

The End.