Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
83% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
5
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
0 Endorsements
Ranked #977
~71.9K People Reached
About Me

geek

Favorite Tags

161 Posted Topics

Member Avatar for f1 fan

These few lines will allow you to email as html an aspx page from your site or in fact any web page you want (though i wouldnt recommend any with lots of scripts etc in it). It is very useful for email forms to customers etc from your site. Personally …

Member Avatar for anandraju123
0
6K
Member Avatar for ruisi

There is one way to send for free without using an sms gateway but you have to know the carrier the person is on. You can then send an email. Most are in the form of [email]mobilenumber@carrierssmsemail.tld[/email] For example verizon is [email]mobilenumber@vtext.com[/email] and most major carriers have similar.

Member Avatar for Mr.M
0
7K
Member Avatar for tgreer

I havent had time to go over this in detail, just a quick scan, but you didnt need to copy the code from streamreader did you? You could have implemented a shadow readline and added your own code, or you could overload readline with a parameter and have your code …

Member Avatar for Cesc_1
0
9K
Member Avatar for Bill the Cat

use System.Management classes to do it. Writing WMI queries. Have a look at it and if you are stuck let me know and i will give you some code.

Member Avatar for ad48
0
4K
Member Avatar for ramareddy_dotne

you can set the focus method for the tab control. But i suggest that the page is reloading or setting focus to the first tab everytime in code or you are rebinding it each postback? Try the if (isPostback) to set the control or not as the case may be

Member Avatar for umesh1987
0
178
Member Avatar for rpk5000

The best way then is to go to a host that offers everything and copy your website there. Add the extras for the comments form and then on the old site get them to do url redirecting to the new site. This means anyone typing the old address will be …

Member Avatar for Vusumuzi
0
178
Member Avatar for Dani

They do it in order of html appearance. There is a short help in adsense about multi unit ads and the best placement of them etc. And yes they still drop them if they cant fill the second and third

Member Avatar for peterson5052
0
350
Member Avatar for muthu

what messagebox? This is asp.net ... web pages.. what messagebox? message box is in windows forms projects not web pages. Do you want to pop up a message to a user? you can use the javascript alert. Are you sure you understand the concept of asp.net? If not say so …

Member Avatar for plusplus
0
272
Member Avatar for frmsasp

Thats not good programming and performance! NEVER use try catch as validation! IT is huge performance overhead. What is wrong with DateTime.TryParse????

Member Avatar for amitesh kaushik
0
4K
Member Avatar for steven

without going into too much argument over html vs asp.net controls etc (and I also use asp.net controls sparingly) I think you all missed the point of the original question :) haha I took it as he wanted to know how to open a new window not the button click …

Member Avatar for dbeura
0
835
Member Avatar for Naters_uk

make it a static function in a class (say Utilities) then in your click event in code behind just call Utilities.RandomPW(7). But you need to return the password you generated. [quote] I have created a random password generator function in asp.net (vb.net)[/quote] No you copied it without understanding it again. …

Member Avatar for kvprajapati
0
287
Member Avatar for Naters_uk

the request object has all the information you need about the client. The only problem you would have with ip addresses is if you are behind ISA2000 (not the 2004) or they are behind some proxy. How will it make your site secure? Are you going to log all ips …

Member Avatar for mfaisalhayat
0
183
Member Avatar for MoriEdan

Can i ask why? Is the new program an enhancement of the old? Or is the new program using some features of the old? Either way i would make the old program a class library and then it (or parts of it) can be used by many other programs. Dont …

Member Avatar for kvprajapati
0
260
Member Avatar for sseo

c# code [code] using System.Data; //in some function System.Data.Odbc.OdbcConnection conn; DataTable dt; System.Data.Odbc.OdbcDataAdapter da; string connectionString; string importFolder; string fileName; importFolder = @"c:\importfile" //or pass it in -this is the folder in which the csv file is in fileName = "csvimport.csv" //or pass it in -this is the csv file …

Member Avatar for kvprajapati
0
1K
Member Avatar for neelu421
Member Avatar for Geekitygeek
1
700
Member Avatar for Paladine

Just one quick one on stored procedure names... dont prefix a stored procedure with sp_ use anything but this as when you call a stored procedure SQL Server looks at the name and if it starts with sp_ it will go to the master database first, do a search for …

Member Avatar for kvprajapati
0
2K
Member Avatar for the_shark

Sorry, i am not doing your work for you. But yes it is possible. Depends if you are talking to exchange or not on how you go about it. You can use the office tools for visual studio (especially the 2005 edition) and also can use CDO objects to talk …

Member Avatar for inspirekarthick
0
362
Member Avatar for thebookie

the timer is doing its function i bet. But test is reset on each postback so will always be 1. for everyone to have the same function you should put test in the application cache (or store is somewhere outside of the session - maybe a db or file).

Member Avatar for herrturtur
0
2K
Member Avatar for mikefitz

where are you typing the url? on the win2k3 machine? also have you checked that it is running as an asp.net app? Does it have an application pool on the IIS page? have you allowed asp.net to run under iis on the win2k3 machine? Are there any other asp.net apps …

Member Avatar for f1 fan
0
207
Member Avatar for rinkuchoudhury

The easiest way is to write a query to select the data from all 3 tables and put them into a dataset with relationships. Then you just have to iterate through the first table one row at a time and create a node for it. Then run through that rows …

Member Avatar for bassam572009
0
314
Member Avatar for jamello
Member Avatar for mIssy_ricco
0
437
Member Avatar for web_developer

[code] string culture = ddl_English.SelectedValue.ToString(); [/code] any .net control on a form is accessed directly in code behind so you can get to any of your control's properties.

Member Avatar for tarim
0
91
Member Avatar for mustafabrew

it could be a firewall issue. if they are on the same network you might be closed down on your machine on port 80 if you are running windows firewall or someother on the machine. Most likely it is because they cannot find your machine name. you say you can …

Member Avatar for rezax123
0
369
Member Avatar for plazmo

there is a way of doing this. I use it extensively for tracking as you mentioned. You need to use an http module. Change your image url in the webpage to [url]http://site.com/notanimage.jpg[/url] then in your http module you check for the name, do whatever logging you need and then replace …

Member Avatar for sedgey
0
169
Member Avatar for HrishiR

[quote]I am devloping Image Comparison Application in ASP.net which compares images irrespective of it's format,size and gives result in Percentage Format!![/quote] [quote]I want to know whether it's possible to comapre 2 images using asp.net irrespective of their format,size and result should be in percenatge format like 80%-90% like that...And the …

Member Avatar for Aneesh_Argent
0
1K
Member Avatar for ep2002

Michelle I am not in a position to help you as yet sorry but wanted to point out a mistake on your website. At the bottom of the homepage it says last updated at midnight Jan 1st 1970. Which makes all those models on your site about 60 now :-s …

Member Avatar for Energy Recruitm
0
235
Member Avatar for Naters_uk

sms is complex and not free but can be done. There are gateways which you can setup with your provider. There is a way to do it via email and is usually [email]mobilenumber@carrierssmsmail.tld[/email] i know them for usa but not for uk. I would think vodafone would be [email]mobilenumber@vodafone.net.uk[/email] but …

Member Avatar for jalpaeol
0
464
Member Avatar for red_evolve

you need wizCreateBulk.FindControl("txtName") the wizard control is the parent control not the templates...

Member Avatar for binusworld
0
395
Member Avatar for plazmo

Most chat clients dont write from the bottom up. They write from the top down but when it is full they start to scroll. Is this a web or windows forms app?

Member Avatar for SupportCuteSoft
0
941
Member Avatar for someoneelse

To use a remote SQL Server you need to add the settings to your web config. At the top you need to add the connection string [code] <connectionStrings> <add name="MyConnectionString" providerName="System.Data.SqlClient" connectionString="Data Source=[I]servername[/I];Initial Catalog=[I]database[/I];UID=[I]username[/I];pwd=[I]password[/I]"/> </connectionStrings> [/code] Then you need to change authentication mode to forms and add the providers. [code] …

Member Avatar for jayakumarjesus
0
267
Member Avatar for artee

do you have a mail server on your local machine? you are calling the smtp server on localhost but i suspect the service isnt installed and running. use a known smtp server. then add .net credentials to the smtpmail. I would also use the system.net.mail namespace rather than the old …

Member Avatar for amrahne
0
436
Member Avatar for karan_21584

Just run a select query in the master database where the object is a database. anything in SQL Server has to be registered in the master database. When you create a table, stored proc, user etc. it is stored in the master database. Of course you need the correct permission …

Member Avatar for s_muenchaisit
0
139
Member Avatar for Terry Robinson

Hey guys Dont reinvent the wheel :) the guys at Microsoft have developed a central data access layer and other useful stuff. It is in their applications blocks in Patterns and Practices and there are many useful blocks in there to use. All of them are proven and very useful …

Member Avatar for JerryShaw
0
399
Member Avatar for blitz2bleach

firstly i would use the membership provider given with .net framework2 and VS2005. Then you can create the tables and everything needed in the database using the aspnet_regsql program that comes with the .net framework (it is in the framework folder on your pc just do a search). Then you …

Member Avatar for SheSaidImaPregy
0
176
Member Avatar for Subcynic

C# is less forgiving than VB in terms of lazy programming. In C# if a method signature has a parameter designated as 'ref' or 'out' then when you call that method (as in you call the winsock.GetData then you have to declare your parameter as 'ref' or 'out' also. This …

Member Avatar for truebot
0
820
Member Avatar for Phrogramer

Assuming you have fully tested it (and that means using qualified testers (more than 1) and automated tools) then you could use some online places firstly such as CNET downloads, windows marketplace, component source, digital river etc. to sell it for you. What about licensing? How will you stop people …

Member Avatar for Rashakil Fol
0
184
Member Avatar for quintoncoert

yes you can pass an array such as MyMethod(byte[] jpgstream) { } parameters are passed by value as a default so no need to specify byval. If you want to pass by reference then specify ref before EACH parameter that you want as a reference. There is also the OUT …

Member Avatar for f1 fan
0
169
Member Avatar for vandana.ahuja

The microsoft grid cannot do that. I use the infragistics grids for mulitple related tables. For read only you could use the datarepeater and use the child rows under each main row in their own repeater. For true "grid" function you need something like the infragistics grid. They are in …

Member Avatar for vandana.ahuja
0
140
Member Avatar for ajithvarma

I personally put them in seperate assembly for testing and not compile the assembly for deployment.

Member Avatar for f1 fan
0
95
Member Avatar for mytime19

It seems you have copied (or used) a VS 2003 application in VS2005. There were some subtle changes when VS2005 was introduced which included Partial Classes. Previously when creating a windows form in VS2003 you had 2 files created - the designer and the code file (plus resx but we …

Member Avatar for f1 fan
0
173
Member Avatar for paeez

You have all your logic in a big tangled mess. I suggest you start by writing in pseudo code what you want to do and then code. You have while loops that do nothing, while loops inside for loops inside while loops and call the same method inside all those …

Member Avatar for f1 fan
0
114
Member Avatar for javed_PUCIT

For real simplicity just add a string to the items collection with dashes in it "-------" or underscores "________" Not nice but simple. Otherwise you will need to use the GDI tools and the graphics object of the listbox at run time and override the onpaint event.

Member Avatar for f1 fan
0
273
Member Avatar for Stivi

I agree. However should you need to pause the thread while another thread completes then use thread.sleep(timetosleep)

Member Avatar for rpgivpgmr
0
577
Member Avatar for quintoncoert

90% of what you do in C# (or any OO language for that matter) is in functions. I am not sure exactly what you are asking though - I know you are new to C#. You ask if you can put some repetative code in a function and call it …

Member Avatar for Ezzaral
0
165
Member Avatar for Fungus1487

Be careful you dont write your vb6 code on the intranet as you will see big performance losses. You not only have to port it to a web based application but also to .net and asp.net (along with ajax, javascript etc.) all of which will help performance if you use …

Member Avatar for Fungus1487
0
129
Member Avatar for Pierre147
Member Avatar for Pierre147
0
115
Member Avatar for mtarby

It is the data not your code. You are putting something in there that cant be converted at runtime. Probably a null value somewhere - you have no testing of the data before you manipulate it.

Member Avatar for f1 fan
0
140
Member Avatar for Juwar

In a word - State Remember asp.net is stateless. When you click the button click the page reloads first and so you lose the previously added column. You need to turn on their viewstate

Member Avatar for f1 fan
0
170
Member Avatar for cms271828

Thats why microsoft give you a built in database (northwind) so you dont have to get one to start off.

Member Avatar for jbennet
0
159
Member Avatar for quintoncoert

the arguments are an array so you add the whole argument into the array. eg. p1.arguments.insert("loginname=Admin",0); p1.arguments.insert("loginpassword=true",1);

Member Avatar for f1 fan
0
193

The End.