490 Posted Topics

Member Avatar for arc64

Try taking the second (CODE) out of the beginning of your code segment and add it at the end with a "/" in front of the "CODE" part. Makes it easier to read the code snippet :)

Member Avatar for dnanetwork
0
118
Member Avatar for usmanbssi

1) that snippet looks like a form with a table inside it 2) there's no closing table tag or any details between If you're posting a code snippet please post all of the snippet so people can see the actual details as what you've posted above not only is improper …

Member Avatar for Dandello
0
86
Member Avatar for roezer
Member Avatar for Lusiphur

Hello, my name is Bariby and I'm a postaholic! I've been addicted to postahol for going on 15 days now with no end in sight. Thankfully, I'm also addicted to Red Bull and cigarettes so I've got lots of caffeine and nicotine to help me power through hours of coding, …

Member Avatar for DavidB
0
176
Member Avatar for nickadam

Well... I see that jbennet replied in the same day :) And I wasn't here then, sooo... welcome :twisted:

Member Avatar for qlipboard
0
218
Member Avatar for valonesal

While I'm sure you've already done so... I have to ask anyway. Did you check [URL="http://www.google.ca/#hl=en&source=hp&q=website+stress+testing+tools"]Google[/URL]? A second search at [URL="http://www.google.ca/#hl=en&q=website+load+testing+tools"]Google[/URL]. Not knowing of any tools to recommend myself that's all I can do for ya :) Hope it helps.

Member Avatar for diafol
0
100
Member Avatar for snefmoo

In Dreamwever specifically you get 2 options in regards to attaching your style sheet... I find, however, that only one of them works reliably. The two options are[CODE=HTML]<link href="test.css" rel="stylesheet" type="text/css" />[/CODE]And...[CODE=HTML]<style type="text/css"> <!-- @import url("test.css"); --> </style>[/CODE]Between these two I almost exclusively use the import method as the link …

Member Avatar for diafol
0
117
Member Avatar for litlemaster

The error "Object reference not set to Instance of an object" tends to be a common one I've seen. Basically it's telling you that you're trying to use an object (read: class) that hasn't been instantiated yet, or rather, that hasn't been instantiated in the way you think it has …

Member Avatar for Lusiphur
0
111
Member Avatar for aragmus

I would use:[CODE]using System.IO;[/CODE]Coupled with a bit of [URL="http://msdn.microsoft.com/en-us/library/29kt2zfk.aspx"]research[/URL] into how that works you should be set :twisted:

Member Avatar for Lusiphur
0
60
Member Avatar for kibr987

kibr987, please remember to mark threads solved once your issue has been resolved :) that way people don't see an unsolved thread and think it still needs to be looked into.

Member Avatar for Lusiphur
0
117
Member Avatar for Jesi523

I'm throwing a bunch of assumptions into my theory here and without physically setting up a GridView that matches yours detail by detail I didn't get to test it but... This might work (and it wouldn't hurt to try unless someone else gives a better solution)[CODE] for (int a = …

Member Avatar for Jesi523
0
110
Member Avatar for Mitja Bonca

Care to share the actual error? It may provide a clue as to what caused it :)

Member Avatar for hirenpatel53
0
323
Member Avatar for exgliderpilot

The error message you are getting actually kind-of tells you specifically what's wrong there... "non-invocable member 'sytem.net.mailmessage.to' cannot be used like a method" means that:[CODE]Message.To(0).ToString;[/CODE]cannot be used in that way. The "To" component of Message cannot accept variables directly. Were you perhaps going for[CODE]string sToAddress = ""; sToAddress = Message.To[0].ToString();[/CODE]with …

Member Avatar for exgliderpilot
0
257
Member Avatar for simi pillai

Again, the error message tells you what the most likely cause is: >> Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Generally that would …

Member Avatar for sunki_janareddy
0
376
Member Avatar for azfarhus

[URL="http://msdn.microsoft.com/en-us/library/system.windows.input.focusmanager.getfocusedelement.aspx"]This might help[/URL]... obtained through this [URL="http://www.google.com/#hl=en&source=hp&q=C%23+focused+element"]exceptionally difficult process[/URL] :twisted: Hope it helps :) Please remember to mark solved when your issue has been resolved.

Member Avatar for azfarhus
0
94
Member Avatar for Lusiphur

I'll preface this by saying that, while I know a fair bit about C#, ASP.Net, HTML, etc... I am a mere pre-novice when it comes to AS3 scripting for Flash. The basic idea of what I'm trying to do here is to create a simple children's mathematics game which runs …

Member Avatar for Lusiphur
0
192
Member Avatar for Acute

ZOMG, Dani came out of the community forums!! And yea, I can definitely say that the level of customization that is visibly apparent in DaniWeb looks like it took a LOT of time and debugging to put into play. DaniWeb is to vBulletin as the WWW is to a small …

Member Avatar for Lusiphur
0
60
Member Avatar for teddypwns

From what I'm seeing it was a matter of how the float properties were (or weren't) defined as these determine the relative position of the component to it's neighbors. Please also remember to mark threads solved once the issue is resolved :)

Member Avatar for teddypwns
0
197
Member Avatar for baseballfury

A quick note to this scenario. If you're looking for a dynamically positioned background (floating horizontally based on browser width) you will never be able to achieve background extension beyond the bottom of the page content. The only way to force a DIV to expand to a set length is …

Member Avatar for JameB
0
304
Member Avatar for AngelicOne

To be more specific here to your other post regarding incorrect data type. Essentially, I'm not sure the specific value of numericupdown1.Value (if it's integer or bool, or double) but you could save yourself a lot of issue if you changed your SELECT statement as such:[CODE]SqlCommand cmd = new SqlCommand("select …

Member Avatar for AngelicOne
0
712
Member Avatar for lotrsimp12345

You might be having a similar issue as described in [URL="http://stackoverflow.com/questions/1248597/c-could-not-get-part-of-file-path-error"]this link[/URL]. Reply # 2 on that link outlines how to resolve that issue if that's the case. It seems in the case of the link above the absolute path was so long (due to subdirectories and such) that it …

Member Avatar for Lusiphur
0
351
Member Avatar for speedingbullet

Perhaps if you were to include some of the code that you have used (specifically the code implementing the Silverlight player in the first place and any code attempts you've made at manipulating the source via the code-behind) someone might be able to dig through the code and find the …

Member Avatar for Lusiphur
0
69
Member Avatar for loveforfire33

File.OpenRead is basically 2 components in 1, File represents a call to [URL="http://msdn.microsoft.com/en-us/library/system.io.file.aspx"]System.IO.File()[/URL] where OpenRead is the method used within System.IO.File to determine the file handling process, in this case, allow opening and reading of the file but not writing. fs.Read is basically calling your fileStream that you created and …

Member Avatar for Lusiphur
0
164
Member Avatar for zachattack05

One option is to set the Format property to Custom and in the CustomFormat property enter MMMM/yyyy, then change the ShowUpDown property to true. This will give you a date in the format of "July / 2010" with the ability to select the month or year and use the up/down …

Member Avatar for zachattack05
0
87
Member Avatar for khanrock

This might work for your needs... you'll need to add "using System.RegularExpressions;" at the top of your code and this goes into your button click:[CODE]Button btn = (Button)(sender); string btnName = btn.Name.ToString; string[] btnSplit = Regex.Split(btnName, "button"); string btnNum = btnSplit[0];[/CODE]btnNum will be the number portion of the button name …

Member Avatar for nick.crane
0
120
Member Avatar for suasi2007

Perhaps if you gave a bit more detail... Such as, why are you connecting to the database? Are there dynamically loaded objects in your site that require DB access? Are you sending information to the database from inputs on your site? Do you have any knowledge of ASP.Net or VB …

Member Avatar for Lusiphur
0
86
Member Avatar for 4delite

nyb = not your business or None of Your Business :twisted: [URL="http://en.wikipedia.org/wiki/Kale"]Kale[/URL] is basically a type of lettuce/cabbage used in various types of salads... I think (if it's the one I'm thinking of) it has a slightly bitter flavor to it. Oh, and welcome 4delite!

Member Avatar for finito
0
280
Member Avatar for IB142CY

Welcome :) And where finito's basic is "pretty much extinct" mine hasn't been let out of it's box since... um... ((does some brief but complex mathematics)) a [B]long[/B] time ago. :twisted:

Member Avatar for maceman
0
91
Member Avatar for dara12

Welcome to both of you :) Hope you enjoy the community here as much as I do and that your stay is long and productive.

Member Avatar for maceman
0
179
Member Avatar for WebDave
Member Avatar for kalpa23

[QUOTE=ddanbe;1272597]It is better to use the generic List type: [CODE=c#]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { List<string> MyList = new List<string>(); MyList.Add("p001"); MyList.Add("p002"); MyList.Add("p003"); for (int i = 0; i < MyList.Count; i++) { Console.WriteLine(MyList[i]); } MyList.Remove("p002"); Console.WriteLine("#################### …

Member Avatar for kalpa23
0
432
Member Avatar for ali_zdn

If you are dealing with a windows forms application simply move the data retrieval and population procedures to appear after the form initialization and that should get your result. My question is, what use is an empty form showing up quickly vs a filled form showing up 2-3 seconds later? …

Member Avatar for arunkumars
0
98
Member Avatar for kayfar

Wow... really? Your other post was already moved over here by a moderator, you've already had people working on your code for days now... duplicating [URL="http://www.daniweb.com/forums/thread294598.html"]this thread[/URL] seems a bit redundant :) That being said try changing[CODE]catch (Exception) { ClientScript.RegisterStartupScript(typeof(Page), "PopUpMsg", "<script>alert ('Fail to Updated!');</script>"); }[/CODE]to this[CODE]catch (Exception ex) { …

Member Avatar for kayfar
0
317
Member Avatar for AngelicOne

Maybe something like this instead?[CODE]private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { textBox1.Text = dataGridView1.SelectedCells.ToString(); }[/CODE]If I read this method correctly any time someone clicks on a cell in the dataGridView it should populate the textbox with the contents of the selected cell. Hope this helps :) Please mark as solved …

Member Avatar for AngelicOne
0
4K
Member Avatar for scaryhelmet
Re: Hi

All hail [URL="http://unrealitymag.com/wp-content/uploads/2009/01/spaceballs_large_13.jpg"]Dark Helmet[/URL]!! Oh and welcome :)

Member Avatar for Lusiphur
0
28
Member Avatar for jhai_salvador

Well... let's see... Function:[CODE]// creates a public procedure named AssignIt which takes an input string and internally refers to it as str as well as having a return property of string (meaning it sends a string result back to it's caller) public string AssigningIt(string str) { //Some statements here... AssignIt …

Member Avatar for jhai_salvador
0
118
Member Avatar for samw1

Simply because there's a few different ways you can accomplish this in CSS I'll toss you [URL="http://www.google.com/#hl=en&source=hp&q=CSS+sidebars+tutorial"]this link here[/URL] to a search where the top 3-4 results should be able to help you through that. Hope this helps :) Please remember to mark as solved once your issue has been …

Member Avatar for samw1
0
90
Member Avatar for GAME

[url]http://msdn.microsoft.com/en-us/library/system.windows.forms.form.ismdicontainer.aspx[/url]

Member Avatar for GAME
-1
81
Member Avatar for wonderland

I would handle it in the following way: For your CSS stylesheet -[CODE=CSS]#bodyBG { margin-top: 0; background-repeat: repeat-x; background-image: url(imgs/bg_patt.png); } #Content { width:800px; margin-left:auto; margin-right:auto; padding: 0 0 0 0; }[/CODE] For your page -[CODE=HTML]<style type="text/css"> <!-- @import url("resStyles.css"); --> </style> <body id="bodyBG"> <div id="Content"> --Your Centered Content Goes …

Member Avatar for wonderland
0
113
Member Avatar for Awah Mohamed

There is lots of information out there regarding [URL="http://www.google.com/#hl=en&source=hp&q=C%23"]C#[/URL] as well as [URL="http://www.google.com/#hl=en&q=ASP.Net"]ASP.Net(C#)[/URL] including [URL="http://www.google.com/#hl=en&q=asp.net+tutorials"]tutorials[/URL] and even [URL="http://www.google.com/#hl=en&q=asp.net+colleges"]classes[/URL] you can take. You say you asked a teacher about C# and all they told you was the .Net stuff... if that's the case you now know about the more common usage …

Member Avatar for Lusiphur
0
86
Member Avatar for Ims333

Well... You could try parsing your stream using .Split('(',')') assuming every line has content within brackets as such: [COLOR="Green"]main content details(secondary content details)[/COLOR] You would get a result where your string array's even values were your listbox items and it's odd values would be the richtext values. This could be …

Member Avatar for Lusiphur
0
98
Member Avatar for AngelicOne

There's nothing wrong with having multiple adapters so long as they're differently named and you duplicate the remainder of the components below the adapter in the data retrieval process with different names than the first set (ie: command, dataset, etc). Alternately... If the 2 queries are similar but with one …

Member Avatar for Lusiphur
0
82
Member Avatar for AngelicOne

You're looking to make your login form a [URL="http://msdn.microsoft.com/en-us/library/39wcs2dh%28VS.80%29.aspx"]modal form[/URL]... A Modal Form basically means that you cannot proceed with the program until the modal form's task has been performed and the form is removed by the program. For more information on how to implement modal forms check [URL="http://www.google.com/#hl=en&source=hp&q=C%23+"Modal+Form""]this link[/URL]. …

Member Avatar for AngelicOne
0
346
Member Avatar for deceivingrakesh

Please provide some code samples of what you have already tried so that we can see where perhaps the problem exists in your code. It's very difficult to troubleshoot where problems in code exist if code is not provided to troubleshoot from :) If, on the other hand, you haven't …

Member Avatar for Lusiphur
0
106
Member Avatar for brightline

Once upon a time there was a person with a lot of questions... this person had internet access, a computer, a fully functional keyboard and access to countless resources to research their answers... As they travelled down the internet superhighway they saw a roadsign that said [URL="http://www.google.com/#hl=en&source=hp&q=Serialize+using+SilverLight"]GOOGLE - We've got …

Member Avatar for Lusiphur
0
101
Member Avatar for litlemaster

Basically (if I remember my C# theory right) that's basically just the deconstructor for classes within your project. Essentially when you drop something (close a form, exit the application, anything that ends the use of objects within the project) it calls for a disposal of that object. The code snippet …

Member Avatar for litlemaster
0
115
Member Avatar for Lusiphur

Ok, so I thought I kinda sorta understood the reputation thing... [B]I thought[/B] I did... As far as I could figure it was based partially on your own reputation, partially on your overall avtivity within the forums, partially on your status (member/moderator/etc)... But now I'm really [B]really[/B] confused lol. Me: …

Member Avatar for Lusiphur
0
250
Member Avatar for simi pillai

I'm going to go out on a limb here and assume that the reason you've posted this is because you're looking for a solution for the error at the top... It's pretty explicitly telling you the problem is with the following line: >>Line 12: <connectionStrings/> That being said, as there …

Member Avatar for Lusiphur
0
304
Member Avatar for sakhi kul

Best I can do for you is [url]ftp://forgeftp.novell.com/ldapcsharp/ldapcsharp/CsharpLDAP-v2.1.11[/url] I couldn't use the url tags because it's not http:// hehe You'll have to copy/paste the FTP URL cus the forum keeps FORCING the URL tags around it and treating it as local to this site. Also, even though it's an "official" …

Member Avatar for Lusiphur
0
79
Member Avatar for nayana simi

Are you running it from Visual Studio in debug mode? or from "view in browser"? Or is the site live and uploaded to a web server and giving this error? Any chance you can provide an example of the code you're using for the authentication popup (minus any user/password sensitive …

Member Avatar for simi pillai
0
184

The End.