Posts
 
Reputation
Joined
Last Seen
Ranked #912
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
88% Quality Score
Upvotes Received
18
Posts with Upvotes
17
Upvoting Members
13
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
10 Commented Posts
0 Endorsements
Ranked #630
~40.1K People Reached
Favorite Tags

69 Posted Topics

Member Avatar for phoenix_dwarf
Member Avatar for Begginnerdev

Hi, Great post, However, Over the past years I have learnt not to use a catch that catches Generic exceptions. Catching the right exceptions and then handling those exceptions properly is the best practice. eg. [CODE]Catch SqlEx as SqlException[/CODE] or even [CODE]Catch OleDbEx as OleDbException[/CODE] for a list of the …

Member Avatar for Reverend Jim
2
899
Member Avatar for charlybones

well alternatively you can use a while loop :P the while loop condition checks if the file exists then within the while loop put a try catch and then try delete the file, if its still locked the exception will catch it, and will constantly try and delete it till …

Member Avatar for charlybones
0
250
Member Avatar for vb.netfreak
Member Avatar for vb.netfreak
0
3K
Member Avatar for zachattack05

As far as I understand it. The values set in the ValueMember is the value being returned after selecting something in the listbox. as you said, the If it displays employees, it doesnt mean the value is the employee names, more rather the employee IDs. So when binding the data, …

Member Avatar for phoenix911
0
172
Member Avatar for Alex_2011

As far as I know, ComboBox Indexes are 0 based. So you might want to change your conditions to something like [CODE]If ComboBox1.SelectedIndex < 1 Then MessageBox.Show("You Should Select A Name & Age", "Error") ElseIf ComboBox2.SelectedIndex < 1 Then MessageBox.Show("You Should Select A Name & Age", "Error") TextBox1.Text = "Your …

Member Avatar for Alex_2011
0
3K
Member Avatar for rahul.ch

And a user can overload the .toString() method to take the object in question an display it as you want.

Member Avatar for rahul.ch
0
237
Member Avatar for behemothdave

You could consider using a Masked Textbox. And then setting each masked textbox accordingly your currency mask would something like this [CODE]$0000.00[/CODE] you can put however many zeros infront/behind. 0 means only numbers are allowed to be inputted. and of course the period separates the dollars from the cents Using …

Member Avatar for behemothdave
0
199
Member Avatar for Cameronsmith63

I like using the c# keyword [B]using[/B] [U]example[/U] [CODE] using(DataTable ConfDT = new DataTable()) { //some code } //ConfDT is automatically disposed here [/CODE]

Member Avatar for Cameronsmith63
0
162
Member Avatar for poojavb

If i understand this correctly, there are different ways of doing this. [U]Approach one[/U] In the DoctorSchedule new Contructor, you can say that it requires DoctorAppointment variable and then when click save you can access the DoctorAppointment fields direclty. Not sure if that is the best way of doing it. …

Member Avatar for poojavb
0
105
Member Avatar for M.Waqas Aslam

You are going to have to add a NotifyIcon to your form, and then set the BalloonTipText/Title and display it when needed [CODE]Dim NotifyIcon1 = New NotifyIcon() NotifyIcon1.Visible = True 'You might want to do this on the form load event and hide it on form closing. NotifyIcon1.Icon = New …

Member Avatar for phoenix911
0
687
Member Avatar for Andy90

well using [CODE]TimeSpan ts = new TimeSpan()[/CODE] it only accepts ints, so you are going to have to convert your floats/doubles to ints

Member Avatar for thines01
0
219
Member Avatar for glut

I agree with MikeyIsMe, use the MouseClick event. But then again, not knowing what the OP wants..

Member Avatar for glut
0
138
Member Avatar for phoenix911

Hi, I have a WCF Webservice, and I have an asp.net application that uses this web service. I Have them both running on the same machine, but get a time out. Is there something I have to specify myself in the web.config? I am fairly new in WCF, as this …

Member Avatar for phoenix911
0
192
Member Avatar for Nastadon

while debugging did you get data back from the server? In other words does the bold code below return anything [CODE]dgGuitars.DataSource = [B]dbcomm.ExecuteReader()[/B][/CODE] also maybe consider adding [CODE][B]user id[/B] & [B]password[/B][/CODE] to you connection string?

Member Avatar for phoenix911
0
87
Member Avatar for csckid
Member Avatar for phoenix911

Hi, First of all I would like to know if this is possible, I have a feeling it is. so if this is, How/What would be the best way to do this? Will I have to download 3rd party libraries? Thanx

Member Avatar for phoenix911
0
76
Member Avatar for chetanbasuray

creating an AV is very hard and long work.. rather join one of the open source projects at sourceforge... where there are plenty of prjoects to help

Member Avatar for omkarpardeshi
0
101
Member Avatar for phoenix911

Howzit, I need some advice on how to go about doing this little side project. Theres a website that uses xml feeds to populate the whole page (i dont care if thats good or bad), I can access these feeds when I'm logged in, but as soon as I'm logged …

Member Avatar for phoenix911
0
241
Member Avatar for aravinda reddy

plz add some more info... like should it get the best match to the wmax and vmax? or just iterate down the list and work from the top down, adding until it reaches the wmax/vmax

Member Avatar for Momerath
0
134
Member Avatar for rogue005

first of all, never use the automatic GUI generator... as it is very hard to read/re-use/edit... always create your GUIs yourself... it may take a lil longer but is much more worth the trouble at the end. note:sorry for the hate and off topic, just it'll help alot later on

Member Avatar for Ezzaral
0
3K
Member Avatar for phoenix911

Hi i have a program that transforms my xml files with the stylesheets i applied and saves them as html file. i also used cooktop to create my stylesheet as well as to see the result... my problem is, that when i transform it, i have a <hr />tag, the …

Member Avatar for phoenix911
0
103
Member Avatar for onlinessp

void textBox1_TextChanged(object sender, EventArgs e) { String provider=textbox2.Text.ToString(); int code=provider.GetHashCode() textbox2.Text = provider.ToString(); }

Member Avatar for onlinessp
1
301
Member Avatar for phoenix911

Hello I would like to develop GPS software for my mobile phone... it has a built in GPS, just i cant get software which is either free of charge or exactly what i need.. i know i have to use java.... but exactly where do i start with this? all …

Member Avatar for jwenting
0
123
Member Avatar for ebay1989

this seems like a nice "get to learn the logic" application... it'll be a quick and easy one with experience, show some code and ill help... ill be doing one any1 which works, but you need to show some of your own effort. the logic you mentioned above is ok, …

Member Avatar for phoenix911
0
5K
Member Avatar for ndz-niels

just so you know.... 11111 = 1F... 1111 = 0F... so whats the problem then?

Member Avatar for ndz-niels
0
147
Member Avatar for joker769

post what the error is first of all... but looking at that... you're comparing a string (text) to a variable (A or a) [CODE]if (text == A || text == a) { newtext == r }[/CODE] so instead add quotes ("") around the A and a.. which will compare the …

Member Avatar for phoenix911
-1
177
Member Avatar for luvthug

as far as i can see from the code... try making these two statements global [CODE]char myChar; BufferedReader s = new BufferedReader(new InputStreamReader(System.in));[/CODE] as you define them only locally to the isVowel method block

Member Avatar for luvthug
0
134
Member Avatar for bhaskarbabar51

[B][CODE] else Response.Write("Seat is booked");[/CODE][/B] move the else a bit up.... and judging from your code... it'll never be 0...cause just before you test it against 1... you give it the value 1... which i dont know why, unless you using it for debuggin

Member Avatar for dnanetwork
0
150
Member Avatar for phoenix911

ive created an application which multiple users will be using on an intranet... now if i had to make changes to the app(fixes/bugs/etc) after deployment.... what would be the way to go without the user clicking a button to update... the new version would be put on the server, where …

Member Avatar for phoenix911
0
229
Member Avatar for bent_al3z4114

please do try this on your own, atleast just try and then where you get stuck, we will have a look :)

Member Avatar for Nick Evan
-4
106
Member Avatar for Ycefire

[B]Cannot find column [reklamace.kod_reklamace]. [/B] thats your error... it cannot find that column... either remove the reklamace. from the query and try again.

Member Avatar for Mohtshm
0
218
Member Avatar for Exaktor

do you want to search for more than 1 field at a time? or search one field, and all relevant data with that ( this should already be happening0

Member Avatar for phoenix911
0
270
Member Avatar for kevintse

you could declare it as private... and just create getters/setters which can be declared as public.

Member Avatar for kevintse
0
1K
Member Avatar for g2gayan

well if your adding a primary key, then there shouldnt be a problem with renaming and adding new pictures, even after deleting pictures... primary keys, are suppose to be unique and in your database, if you delete lets say record 5... you wont be able to create a new record …

Member Avatar for g2gayan
0
207
Member Avatar for fyp

your going to first need to read the contents of the text file... either using a ifstream or just a fstream(fstream is both ifstream and ofstream) lots of examples on the net... just google ifstream/fstream

Member Avatar for fyp
0
653
Member Avatar for miss_kruse

i think its possible yes, as it is possible with todays scanners... which "take a picture"(scan an image) and then translates it to words... this is possible with a moblie app, but itll need some sort of text recognition in it, which im sure there is examples out there somewhere …

Member Avatar for Talguy
0
116
Member Avatar for sachintha81

as far as i can see.... from this code [CODE] string pattern = "xmlns:.*?\".*?\"";[/CODE] the [CODE]xmlns:[/CODE] says what exactly to look for... must exactly match that... then moving on to the [CODE].*?\"[/CODE] the "." i think is some kind of append to the pattern it then says the next part …

Member Avatar for fesmaeili
1
167
Member Avatar for d3mos

everything is possible... some just require more work than others... but whoever told you to use VB.net was a good choice... although using C#.net would be even better. good luck, and dont give up on the project

Member Avatar for d3mos
0
216
Member Avatar for charlieruns
Member Avatar for javatechgirl
0
1K
Member Avatar for DAVe3283

when closing the main form its like closing the app... so a suggestion would be, disable the main form close button when there are child forms open... and just enable it again when there are no child forms open... or create a global variable(a bool perhaps), that when a child …

Member Avatar for Geekitygeek
0
817
Member Avatar for priyankapandey

please add the CODE-tags to the respective areas... it makes things easier to read :) thanx

Member Avatar for phoenix911
0
169
Member Avatar for ueoptimum
Member Avatar for 2009_53
Re: a

1st of all.... welcome.... 2nd of all we dont just give code... the point of this forum is that you 1st try to code it yourself, and then AFTER research on the internet...and a search on the forum, then you post your problem here WITH your try... from there we …

Member Avatar for syd919
-2
91
Member Avatar for JellyTurf

change this code [CODE] public static getMove(int turnNumber) {[/CODE] to this maybe [CODE]public static [B][U]void[/U][/B] getMove(int turnNumber)[/CODE] note: mark as solved if this fixed it

Member Avatar for phoenix911
0
211
Member Avatar for JellyTurf

try this [CODE]if (turnNumber % 2 == 1)[/CODE] when using the = its like assinging a value to a variable... but what you want to do is compare the values... thats why you use double = like == if this works mark as solved. Thanx

Member Avatar for phoenix911
0
109
Member Avatar for dawsonz

[url]http://www.codeguru.com/csharp/.net/net_data/datagrid/article.php/c13041[/url] [url]http://social.msdn.microsoft.com/forums/en-US/winformsdatacontrols/thread/fbe691ae-ec83-4a09-8766-0088cfcc1ea3/[/url] thers many posts out there concerning this a quick google search got me this...

Member Avatar for yaninea
0
190
Member Avatar for ttboy04

[QUOTE] int number; { number= Integer.parseInt(Dialog.input("Enter repetition?")); number= Integer.parseInt(Dialog.input("Which timestable do you want?")); for(int a =1;a<=12; a++) { System.out.println(a + " times " +number + " is " + a * number); } };[/QUOTE] just add another loop... [CODE] int number; int number2; { number2= Integer.parseInt(Dialog.input("Enter repetition?")); number= Integer.parseInt(Dialog.input("Which timestable …

Member Avatar for phoenix911
0
103
Member Avatar for kesh1000

[CODE] 2 for loops with int I and K if (num[i] > num[k]) swap = num[k] num[k] = num[i] num[i] = swap [/CODE] to change the order(ascending/decending) just change the > to < or vica versa

Member Avatar for chaospie
0
236
Member Avatar for winecoding

[QUOTE=winecoding;1164028] [CODE] for (i = 0; *(str+i); i++)[/CODE] [/quote] this is a for loop, which will start with[CODE] i = 0[/CODE], and iterate through until the condition [CODE]*(str+i)[/CODE] is met, and the iteration will move by one at a time as shown by the [CODE]i++[/CODE] note: as far as i …

Member Avatar for mrnutty
0
96

The End.