Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #779
~63.6K People Reached
About Me

IT/c#/asp.net web development

Favorite Tags

142 Posted Topics

Member Avatar for moderate_rock48
Member Avatar for rac_engg

vb would be fine for this i think. but you shouldnt expect very much info regarding this technology on the net as i doubt it is a very popular thing to program as open source, expecially in vb. if i was doing it tho, i would get the directx sdk …

Member Avatar for austincarven
0
399
Member Avatar for dskumar_85

are you trying to upload this image from every visitor of the page or just you? I dont believe it is possible to upload a file from a visitor, because then nothing would stop you from taking any file off a persons computer.

Member Avatar for alireza_4
0
2K
Member Avatar for Adzz

Hmm, i replyed to a post exactly like this somewhere else on this forum. Anyways use Request.Form["controlID"] to get the value after a postback.

Member Avatar for vivek07088
0
3K
Member Avatar for Buggaya

try this. it creates its own file stream and sets the access to append. it replaces your fiest line [code] Stream xmlFile = new FileStream(@"c:\path",FileMode.Append); XmlTextWriter textWritter = new XmlTextWriter(xmlFile, Encoding.Default); [/code]

Member Avatar for Behrangbina
0
2K
Member Avatar for cumadhu

you could also use the "ref" parameter that would change the values of the passed parameter.

Member Avatar for Michael27
0
549
Member Avatar for dskumar_85
Member Avatar for infernodeep

the problem is you cant put an event on a option in IE as far as i know. so the best solution is to put the event on the select [code] <div id="div1" style="display: visible">Div 1</div> <select onchange="changeDisplay('div1',this.options[this.selectedIndex].value)"> <option value="block">visible</option> <option value="none">hidden</option> </select> [/code]

Member Avatar for papiya
0
807
Member Avatar for c# seeker

PostBackURL sends all the form data to the assigned page. Whereas when using Response.Redirect your sending the form data to your current page then moving your user to the assigned page. So if your going to handle the form data on a separate page then you set the PostBackURL. Otherwise, …

Member Avatar for ghazanfar381
0
3K
Member Avatar for msaqib

ok below is code i made to connect to a access database. the Select function takes your query and returns a dataset datasets are really easy to work with. if you dont have any experience with them i could post how to use them. also use parameters this doesnt have …

Member Avatar for deepakjoy
0
2K
Member Avatar for tgreer

[QUOTE=tgreer]Does C# have a conditional compiler directive for debug mode? I have code that I want to run only if I'm debugging.[/QUOTE] yeah c# uses directives [CODE] #if DEBUG Do this in debug; #else do this optionaly if not in debug #endif[/CODE]

Member Avatar for nathon
0
315
Member Avatar for dskumar_85
Member Avatar for divya.padukone

Page.IsPostBack Is used to check if the user posted back to the page. Meaning they clicked a button or changed a field in the form that causes it to post back to itself. Putting Not usually is used to check the initial load of the page. You only need to …

Member Avatar for jay_gandhi
0
732
Member Avatar for SelArom

You should set this up in IIS using an http redirect. You just need to have the file highlighted then in features view select http redirect then specify the new address in the box and check the two options for exact location and not the subdir and select the return …

Member Avatar for GamersX
0
443
Member Avatar for karkar_87

try storing it in your context.session. ive always prefered to just hit the database again for each page. just grab only enough each query to fill one page. EDIT: sorry i just realized, that you may not be talking about asp.net oops. in that case, fill a dataset up with …

Member Avatar for bfbfb
0
138
Member Avatar for Rajnesh

the operating system is made in c. but a lot of the apps are made in c# or vb.net, like the whole ms office suite is written in vb

Member Avatar for kvprajapati
0
928
Member Avatar for Alhilali

[QUOTE=mickwen]Hi : There is a .net flash component , your can free download it. ASP.NET and Win Form Supporting , It's may help to you. [url]http://www.e-iceblue.com[/url] NickMichel[/QUOTE] awsome com. ive been wanting something like this for a long time. thanks

Member Avatar for makita san
-1
206
Member Avatar for bhavna_816

if you want to add a not null column to a table with rows, you need to set a default value to the new column. adding a new column without a default value would put a null in the column for each row, which would be breaking the not null …

Member Avatar for Saranya_kamaraj
0
277
Member Avatar for MoriEdan

you can add the program into yout app as content then extract it and run it with the above mentioned way u just add the file to your project like any other file then change the build action to content. im noto sure if you can call it directly from …

Member Avatar for kvprajapati
0
259
Member Avatar for tayspen

static void Main(string[] args) { } make your Main look like this and "args" is a string array of all the args passed

Member Avatar for kvprajapati
0
194
Member Avatar for neelu421

[QUOTE=neelu421]I have a string "Hello". How can I copy this string into an array in words e.g 'H', 'e', 'l', 'l', 'o'. Thanks in advance[/QUOTE] a string is nothing more then an array of chars, so if you want to split up the strings letters into a different string array …

Member Avatar for Geekitygeek
1
700
Member Avatar for khusani

[QUOTE=khusani;301726]I am developing a multi file uploader user control. after researching for it. the trick is to build a custom HttpHandler to perform the upload process from the context.request.files. here is the code for my handler: [COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] PSUpload[/COLOR] { [COLOR=#808080]///[/COLOR][COLOR=#008000] [/COLOR][COLOR=#808080]<summary> [/COLOR][COLOR=#808080]///[/COLOR][COLOR=#008000] Custom HttpHandler to perform uploading files from client …

Member Avatar for sanjaycedti
0
218
Member Avatar for adam1991

[QUOTE=adam1991;1004802]Here is the code first off all for the login script (HTML) [CODE] <form id="form1" runat="server" method="post"> <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox> <asp:TextBox ID="txtPassword" runat="server" style="width: 128px"></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="Login" />[/CODE] Here is the behind code to that page double click on the button and get this code (VB.NET) [CODE] Dim …

Member Avatar for I.Ahmad
0
115
Member Avatar for Se7Olutionyg

[QUOTE=Se7Olutionyg;1001156][CODE]using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; namespace WebApplication5 { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { SqlConnection conn = new SqlConnection( " Server =localhost\\SqlExpress; Database= …

Member Avatar for plazmo
0
108
Member Avatar for thebookie

i might be wrong but i dont think you can use a timer in asp.net because inorder to change a value on the page it has to do a postback, which reloads the page each time. but ive seen this done with ajax. like using setTimeout() to loop and XMLHttpRequest …

Member Avatar for herrturtur
0
2K
Member Avatar for Slade

[QUOTE=Shalvin;257937]But how to do the same in C#. For instance : int hits = Int32.Parse(Application["Hits"]); Will create a error Error 2 Argument '1': cannot convert from 'object' to 'string' E:\Sh\ASP\cS HitCounter\Global.asax 26 32 E:\...\cS HitCounter\ [B][/B][COLOR=#0000ff][COLOR=#0000ff][/COLOR][B] [/B][/COLOR][B][/B][/QUOTE] int hits = Int32.Parse(Application["Hits"].ToString()); but int hits = (int)Application["Hits"]; would be better because …

Member Avatar for amitpathak
0
1K
Member Avatar for Embeza

Instead of hitting the db twice, you can increase the count with one query "update TheTable SET visitorcount = visitorcount+1" [QUOTE=AliAbbas;230615]Hi, 1. Create one database named "Sample", create a new table called "visitorcount" and create one column called "visitorcount" as integer in sql server. 2. Then put one label called …

Member Avatar for jeju
0
701
Member Avatar for vedmack

[QUOTE=vedmack;583539]I tried ~s.o.s~ suggest... [code]<html> <body oncontextmenu="return false;"> <iframe src='c:\name.xml'> </iframe> </body> </html> [/code] [/QUOTE] First off you cannot link to c:\ Unless name.xml is on every users computer nothing will show there. Saving the file does not reveal the files location, its probably just that you have the src …

Member Avatar for HTMLExpert
0
806
Member Avatar for plazmo

im trying to find a way to do an action when someone accesses a image file. example would be someone views 'http://site.com/image.jpg' then say i want to log who has veiwed this file in my database. ive heard of ad sites doing somethign like this for tracking people but i …

Member Avatar for sedgey
0
168
Member Avatar for Exelio

is the templet an html/text file? if so use System.IO and open the file with a filestream and read it with a streamreader. Otherwise if you are like generating this dynamically with some type of asp response writing. try doing a webrequest to the page. Im not really sure if …

Member Avatar for binoj_daniel
0
164
Member Avatar for plazmo

im having problems with the following code it works fine when i have the sleep in but without the sleep it writes the same number twice does this have something to do with the way the computer generates the random number? like based on the computers time? [CODE] using System; …

Member Avatar for LizR
0
227
Member Avatar for plazmo

is there any simple way to do this? im making a chat client and i want it to display text like all chat clients do, which is buttom to top. Thanks!

Member Avatar for SupportCuteSoft
0
940
Member Avatar for plazmo

I need help with RPGIV . Im taking a class in school and the teacher and books suck. Can you point me to a site or 2 with RPG basics. I just need help navigating the whole as/400 pdm thing and a reference to keywords and shortcuts. The syntax and …

Member Avatar for jsrpatna
0
197
Member Avatar for designermom2

you can move these events out into a function, but im just keeping it simple. [code] <div onmouseover="document.getElementById('img1').style.display='block';document.getElementById('txt1').style.display='none';" onmouseleave="document.getElementById('txt1').style.display='block';document.getElementById('img1').style.display='none';"> <img id="img1" src="img1.jpg" style="display: none;"> <div id="txt1" style="display: block"> text 1</div> </div> [/code]

Member Avatar for plazmo
0
159
Member Avatar for SirDorius

the inner html of the whole html document is document.childNodes[1].innerHTML or document.body.innerHTML if you just want the bodys html

Member Avatar for SirDorius
0
155
Member Avatar for bhavna_816
Member Avatar for nishanthaMe
Member Avatar for wani_raj

[QUOTE=wani_raj;582484]It is retrieval of unique records from table but I want retrieval of those records which are unique on some coloumns eg if table have 5 coloumns I want to retrieve only those records which are unique on 3 coloumns suppose a student table stores details of all college students …

Member Avatar for plazmo
0
91
Member Avatar for charliena

[QUOTE=charliena;585179]hi all i have created a project on photo album using asp.net. but the pictures are viewed small. i want to know if there is ny way as to add the zooming tools to the web forms using asp.net[/QUOTE] increasing the height/width of the image will make it larger, but …

Member Avatar for plazmo
0
94
Member Avatar for dskumar_85

Use a master page for the header and footer. If you dont know how to use a masterpage, do some research, its easy to use.

Member Avatar for plazmo
0
88
Member Avatar for plazmo

I am looking for software that can keep a log of what computer a user has logged on to in our companys building. we have a domain using active directoy, and i would like a way so when a user logs on it will keep track of the computer they …

Member Avatar for praveenakandhi
0
130
Member Avatar for firebirds98

Session("Cart") is null So either check if Session("Cart") is null, and create a new one if it doesnt exists. or create a new Session("Cart") when the session is started. Session("Cart") = New Cart

Member Avatar for harivb
0
156
Member Avatar for ABDUL HAYEE

it doesnt sound like you need anything more complicated then a image wrapped in a link to your page. [code]<a href="homepage2"><img /></a>[/code]

Member Avatar for plazmo
0
148
Member Avatar for sanjay_bakshi

text1.Text=Request.Form("text1") Request.Form("controlID") will return the text value of the form field.

Member Avatar for plazmo
0
77
Member Avatar for psspl

you access your content tags. they look like this. [code=asp]<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"></asp:Content>[/code] then you just call it from the c# code by id ex. Content1.Controls.Add(acontrolfilledwithcontent)

Member Avatar for Hosam Kamel
0
453
Member Avatar for naju
Member Avatar for brightline

Master pages are not made to display external pages. If you want to have a menu and display external sites, put a iframe where your content panel would be. and on the menu links put target="iframesID"

Member Avatar for plazmo
0
97
Member Avatar for plazmo

is this possible, i had to use the mysql class to connect to the database, but i would rather use oledb. the connection string i used is "Provider=MySQLProv;Data Source=mySQLDB;User Id=myUsername;Password=myPassword" when i try to connect a popup titled "MySql Data Source Name Setup" always comes up. even if i try …

Member Avatar for peter_budo
0
123
Member Avatar for dele454

Use the first scenario. Keep all the events in one table and all the categories in one table. It will be faster and easier to work with.

Member Avatar for dele454
0
96
Member Avatar for s627y

The End.