490 Posted Topics

Member Avatar for normmy

Another variation on what Ryshad indicated is to simply use the [URL="http://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regex.split.aspx"]Regex.Split[/URL] method which works the same as the single character split but allows string definition for the split markers. This can be done by first defining a regex pattern then using that pattern in your split command as such:[CODE]Regex …

Member Avatar for Geekitygeek
0
258
Member Avatar for shaqtus

As an additional note, if you never set any un/pw credentials when you set up your SQL server then odds are it's utilizing windows authentication (based on computer/user name). When setting up a database for a web deployed project using windows authentication generally won't work out too well for you. …

Member Avatar for jovial_vik12
0
292
Member Avatar for SHatcher

Wow... well first, this is completely in the wrong forum... from the look of things you're looking for either VB.Net or ASP.Net forum. Second, it would've been great if you'd used the code-tags to surround your code segments above. Hopefully a moderator will clear all of that up for you …

Member Avatar for Lusiphur
0
87
Member Avatar for pratik523

This request is very vague in nature and so, to be honest, I'm not sure what to suggest. What I might recommend is first to start off with a planning stage... Utilize [URL="http://www.google.com/#hl=en&source=hp&q=pseudocode+examples"]pseudocode[/URL] to plan out the workings of the application and pre-plan your way around any bugs/issues you can …

Member Avatar for Lusiphur
0
71
Member Avatar for LevyDee

[QUOTE=LevyDee;1310825]For instance, in my for conditions, I cant say, (int i = 0; i != songs.count; i++) like I would be able to in c++.[/QUOTE]For that one I would say this instead:[CODE]for (int i = 0; i < songs.Count; i++)[/CODE]Since Count is based on numbers starting at 1 and the …

Member Avatar for Lusiphur
0
168
Member Avatar for drfarzad

Ya, um... after digging through the page source at the URL you provided I'm going to guess it's something easily solved by setting padding to 0 on either the DIV or the table within the DIV for your top 2 DIVs on your website. But then again I could be …

Member Avatar for floatingDivs
0
82
Member Avatar for Griffin54

The only way you're going to have the buttons in the exact same location relative to the background on "any monitor" is with [URL="http://www.w3schools.com/css/css_positioning.asp"]absolute positioning[/URL]. If you follow the link above, it leads through a tutorial on CSS and Absolute Positioning that may help you out. Essentially, by using absolute …

Member Avatar for Lusiphur
0
103
Member Avatar for y2kshane

I'd recommend that you check out the following [URL="http://www.google.com/#hl=en&q=text+append+io+site%3Amsdn.microsoft.com"]search[/URL] for many links related to the process you're looking for :twisted: What you're looking for is the Append file access mode which opens an existing file for writing but places new content at the end of the file instead of overwriting …

Member Avatar for y2kshane
0
157
Member Avatar for AngelicOne

AngelicOne Generally when it tells you that you cannot implicitly convert a variable to another type there's a simple solution :) What cannot convert implicitly must be converted explicitly. What this means is... Rather than use something like[CODE]string varString1 = someInteger;[/CODE]Which would be an implicit cast from integer to string …

Member Avatar for SHatcher
0
1K
Member Avatar for developer_hand

Question: Is your iframe within another container such as a DIV? If so, it is very possible that the DIV itself is restricting the iframe's height as opposed to an issue with the iframe itself.

Member Avatar for Lusiphur
0
291
Member Avatar for farsen

Realistically... if you had the resolution of the screen and the actual monitor dimensions (inside dimensions vertical and horizontal) then you could do a straight ratio conversion. For example, my resolution is 1680x1050 but I don't have an actual measuring tape handy to tell you the height and width of …

Member Avatar for farsen
0
187
Member Avatar for Ben Macdui

I think the key point here (as far as potential employers are concerned upon your return) is that you don't plan to just let your skills vegetate while you're abroad. You've indicated that you plan to suppliment your travel costs by freelancing while you travel which means that you'd still …

Member Avatar for Lusiphur
0
208
Member Avatar for flxbbs

Well, for starters, when you say it's not working properly... what exactly is it doing compared to what it should be doing? Are you receiving any error messages? Are you simply receiving incorrect results? A bit more information would be helpful to determine the nature of the problem, particularly as …

Member Avatar for Lusiphur
0
245
Member Avatar for cguan_77

Step 1: Open a web browser (I recommend Firefox) Step 2: In the address bar, type [url]http://www.google.com[/url] and hit enter Step 3: Find [URL="http://www.google.com/#hl=en&source=hp&q=asp.net+word+site%3Amsdn.microsoft.com"]the answers[/URL] you're looking for Personally I recommend [URL="http://social.msdn.microsoft.com/Forums/en-US/worddev/thread/363b65fd-a730-4060-802c-d989d9d7d6c6"]the following link[/URL] as it appears (at first glance) to be closest to the single sentance question you posted. …

Member Avatar for Lusiphur
0
77
Member Avatar for zandiago

Well I guess if this thread had to be resurrected I might as well participate... I've noticed that a lot of the arguments [B]for[/B] piracy seem to center around 'unfair pricing of the product being pirated' and the fact that the pirates would 'never have purchased the item at it's …

Member Avatar for jon.kiparsky
2
982
Member Avatar for Roses89

The only drawback I can see with jbisono's suggestion is that it may not be 100% accurate. As an example, my B-Day is in December 1978... if we use the formula:[CODE]int years = DateTime.Today.Year - Convert.ToDateTime(txtDOB.Text).Year;[/CODE]Then what we get is 2010 - 1978 = 32. However, at least for the …

Member Avatar for virusisfound
0
908
Member Avatar for MichaelWClark

One thing you might want to look into is the IsPostBack property of Page. You can use the [URL="http://msdn.microsoft.com/en-us/library/system.web.ui.page.ispostback.aspx"]Page.IsPostBack[/URL] property to control various elements of your page to only run on postback or only run if it's not a postback and so forth. Hope that helps :)

Member Avatar for Lusiphur
0
81
Member Avatar for skyboy

Skyboy, did you ensure that the host you are using is providing their hosting services on a Windows server as opposed to a *nix server? ASP.Net will only run on a windows server running IIS with the appropriate ASP.Net handlers installed. Hope this helps. :)

Member Avatar for Lusiphur
0
55
Member Avatar for ﻼim
Member Avatar for jv_web

[QUOTE=jv_web;1303378]Unfortunately I wish to add the "selected items" ( listType.SelectedItem.Text ) to the body of the email...[/QUOTE]Just because Rohand's specific example utilized the objEmail.To.Add() example doesn't mean that would be the only thing that would work in this scenario. Simply replace the unneeded segment with the logic required to insert …

Member Avatar for jv_web
0
183
Member Avatar for virusisfound

Curious... Was there a reason why you had to create another thread instead of simply adding to [URL="http://www.daniweb.com/forums/thread302739.html"]the one you created before[/URL] for the same topic? Just seems like you decided that, since you didn't get the answer you wanted 5 days ago, you were going to re-post the question …

Member Avatar for virusisfound
-1
533
Member Avatar for Nitin Daphale

[QUOTE=Zinderin;1306474]Unless you're doing a massive amount of batch inserts (1000s at a shot), breaking them down into individual blocks of code with their own testing, trapping and reporting [I]is not[/I] going to be a hit on your performance.[/QUOTE]And realistically, ease of use > performance even then. But yes, as Zinderin …

Member Avatar for Nitin Daphale
0
144
Member Avatar for bright b.k

I, for one, am very curious about the ever increasing number of people who are completely stumped when it comes to coming up with topics for their university projects. Granted, I understand that it can be a bit much to expect originality and 'forward thinking' from today's college/university crowd but... …

Member Avatar for Lusiphur
0
127
Member Avatar for canterorist

Ok, a brief note on backgrounds... Size of the background in the web browser (IE, Chrome, Firefox, etc.) is based on the resolution of the screen displaying it (minus the number of pixels required for the borders/menu bar/etc of the browser itself). Generally it's not a good idea to try …

Member Avatar for Lusiphur
0
144
Member Avatar for mehak gupta

For starters, please don't take this as a personal attack against you... you're just the latest of many people I see doing this of late. Code Snippet is generally for use in providing 'working code' as example to the community of how to do something. Questions should be kept to …

Member Avatar for mehak gupta
0
102
Member Avatar for woods

Have you perhaps tried running a check against [URL="http://msdn.microsoft.com/en-us/library/system.io.file.getcreationtime.aspx"]File.GetCreationTime[/URL] for the files in the list to determine the created date for the file(s) against the date range you're targeting? Hope this helps :)

Member Avatar for Lusiphur
0
109
Member Avatar for gcnwador

I might reference you to the 4 links I provided in [URL="http://www.daniweb.com/forums/post1300247.html#post1300247"]this post[/URL] that are all local DaniWeb posts related to transferring variables between forms in C#. Hopefully one of them helps in your scenario :)

Member Avatar for alonso_siang
0
403
Member Avatar for mbrown686886
Member Avatar for Lizaswadling
0
72
Member Avatar for dcomander1

Nice intro :) nice to see when someone makes an effort instead of posting a one liner (or half liner) to the community intros forum. Welcome to DaniWeb.

Member Avatar for dcomander1
0
165
Member Avatar for prince26121991

Simply put, because you don't always want to wait until the end of the program to free resources that are no longer needed by the application. For example, if you were to hold on to the memory allocated every single time the program calls a class object, or every time …

Member Avatar for Lusiphur
0
3K
Member Avatar for MTJLT

Well, welcome to the forums :) And if I might make a suggestion, make the change from Vista to 7 asap... 7 is (in my humble experience) the best of the bunch. Microsoft finally got something right with Win7. Only one thing I would watch for and that is in …

Member Avatar for maceman
0
163
Member Avatar for kasakit
Member Avatar for new SE

[QUOTE=new SE;1304948]Hi, what should i use to make the data inserted is in all capital letter? here is insert statement: [CODE] string query = "INSERT into Categories values (' " + textbox5_value + " ', ' " + textbox6_value + " ', ' " + textbox7_value + " ' )";[/CODE] …

Member Avatar for new SE
0
101
Member Avatar for sxh92

[QUOTE=ramjo;1304908]Have u tried what hugvu said when you go to the logon screen press CTRL+ALT+DEL enough times till u see a dialog box then type Administrator and leave the password blank and press enter[/QUOTE]I assume you didn't notice that the thread you posted in was from December 2007? :twisted: Pretty …

Member Avatar for Lusiphur
0
151
Member Avatar for new SE

Perhaps I'm misreading this but... It sounds to me like you're passing the UN/PW to the DB to check if they're valid for a login and want to then get the UN back from the DB for the purpose of a welcome page. This may sound silly but... why not …

Member Avatar for new SE
0
128
Member Avatar for Lusiphur

Have you ever found yourself watching TV and seen a spoof or comedy routine involving an invention that you would just LOVE to see in use in real life? [URL="http://www.google.ca/url?sa=t&source=web&cd=9&ved=0CDoQFjAI&url=http%3A%2F%2Fwww.funnyhub.com%2Fvideos%2Fpages%2Froberts-toot-tone.html&ei=NrBkTPbqIsmTnQfpoZmYDQ&usg=AFQjCNGQ1qgldpk4ONlxEluI9bdyK6mYiw"]This one[/URL] makes me laugh every time [URL="http://www.cbc.ca/22minutes/"]This Hour has 22 Minutes[/URL] reruns the episode it was in. Anyone else have …

Member Avatar for Lusiphur
0
116
Member Avatar for johndoe444

General rule of thumb in C# (not sure about VB) is that @ basically indicates a literal value of the variable to follow. @varName differs from varName (assuming both are string variables) in that the @ version will ensure that every character of the string is read and none of …

Member Avatar for Lusiphur
0
77
Member Avatar for JRM

I'm sorry, you're looking for a list of known IE issues? Do you realize how much database storage space that would take? :S All joking aside though, I don't know of any place that has compiled this information as it tends to be somewhat fluid in nature (one day they …

Member Avatar for Lusiphur
0
68
Member Avatar for marilynne11

Why resurrect a thread from 2004 just to tell us you're having problems with a web-based email service that has it's own dedicated technical support team? :twisted:

Member Avatar for Ezzaral
-1
224
Member Avatar for markthien

>>when I create 2 datagridview with each using different bindingsource, and I click on next for the first datagridview, the other datagridview also automatically paginate to the next one. Have you perhaps looked into the event handler(s) you are using? It's possible that the two DGVs are somehow sharing the …

Member Avatar for nick.crane
0
170
Member Avatar for Chatterbox721

I might recommend one of the following 2 resources to help you solve your issue (depending if you're running on a windows or a unix server)[LIST=1] [*][URL="http://www.google.com/#hl=en&source=hp&q="Learn+PhP""]Resource #1[/URL] (Non-Windows Server) [*][URL="http://www.google.com/#hl=en&q="Learn+ASP.Net""]Resource #2[/URL] (Windows Server that supports ASP.Net) [/LIST]Hope those help :)

Member Avatar for teedoff
0
72
Member Avatar for jellybeannn

Maybe try changing the following:[CODE]string sel = "DELETE FROM acomodation WHERE A_ID=" + A_ID;[/CODE]to this instead:[CODE]string sel = "DELETE FROM acomodation WHERE A_ID='" + A_ID + "'";[/CODE]

Member Avatar for Lusiphur
0
177
Member Avatar for hellkosmos

And by "check out the msdn reference" you're referring to [URL="http://msdn.microsoft.com"]msdn.microsoft.com[/URL] right Ryshad?

Member Avatar for hellkosmos
0
129
Member Avatar for San12345

Is it just me, or does nobody do any research prior to coming here and posting questions? I mean, even without going to external sources (Google.com, msdn.microsoft.com, etc.) I'm able to pull together the following list of posts within DaniWeb alone that are related to sending mail from an ASP.Net …

Member Avatar for Lusiphur
0
87
Member Avatar for rinoa0424

>>How they can access to other computer, How virus made, etc. Starting to sound pretty black-hat to me... Just sayin'

Member Avatar for Narue
0
218
Member Avatar for davidbrennan

If you're working in ASP.Net that also means you're running in IIS... Which also means you can set up multiple application working directories and all applications running within their specified working directories would (in theory) run in their own app space. Can't recall where I was reading about the processes …

Member Avatar for Lusiphur
0
75
Member Avatar for swetz

Should be a Discussion Topic instead of a Code Snippet... other than that tho, on my way out the door and hopefully someone else can help you out :)

Member Avatar for nick.crane
0
179
Member Avatar for jtok

What we would need to see (since what you're using is a stored procedure for your inserts) is the Stored Proc you're using. The above code shows a call to the Stored Proc but nothing of the proc itself which makes it impossible for anyone to determine if there are …

Member Avatar for jtok
0
184
Member Avatar for sijmenjan
Member Avatar for sijmenjan
0
31
Member Avatar for Rigved
Member Avatar for Lusiphur
0
75

The End.