I have to write a small application where a GUI accesses a DAL (Data Access Layer) through a web service. The GUI and the DAL are on two different computers. My question: where should I store the connection string so the DAL can get it and connect to the database? Thanks!
Haim Yulzari
Posts
-
Where should I store my connection string? -
Text in a listview columnWOW! Thanks a lot!
-
Text in a listview columnHow can I programmatically determine whether a text in a listview column is longer than the column's width (i.e. displayed partially and ends with ellipsis)? Thanks!
-
Selecting an item in a listviewIn a small application I write I use a listview in Details view with check boxes. The listview has 3 rows and 2 columns. The second column of each row is initially empty. When I click a check box to check it, I perform some computation and insert the result into the second column. When I uncheck the box, the column is cleared. My problem: I couldn't find a simple way to determine in which row the check box I clicked is located. I've finally done the following: in the ItemCheck event of the listview I prepare a list of the currently checked rows. Then I start a timer with an interval of 250 ms that runs only once (AutoReset = False). In the Elapsed event of the timer I prepare another list of checked rows. This list contains the updated state of the box I clicked. I can find the row of the box I clicked by comparing the 2 lists. This method works but I feel it's a little cumbersome. Is there a better way? Thanks!
-
You can't stop the power of mildy difficult maths puzzles67 + 76 = 143 That makes it three of them! Have more puzzles? :)
-
First Time - JOTDVery nice! :) I don't want to sound arrogant, but I gussed it was a dentist after the first few sentences. Maybe because I have to visit mine soon... :(:(:(
-
Reading past end-of-fileThanks! That solved the problem. (I'm using iostream.) :)
-
Reading past end-of-fileI have a file that I read character by character. However, the file is scattered with '^Z' (control-Z) characters so the process stops at the first of them due to end-of-file. Is there a way to ignore these characters and continue reading till I reach the "real" end of the file? Thanks!
-
Microsoft .NETHaim Yulzari wrote: ;P;P;P What's happened to the smilies? :omg::omg::omg:
-
Microsoft .NETBrian Azzopardi wrote: What!! They don't use Vi? Shurely shome mishtake? They'd better dump both Ultraedit and Emacs and use VIM - the best freely available editor on earth! ;P;P;P
-
JOTDLOL! :laugh::laugh::laugh:
-
Baby Lakin!Congratulations! I wish you and your wife an easy and pleasant pregnancy and delivery. Haim :rose: :rose: :rose: :rose: :rose:
-
The PlagueJohn Simmons / outlaw programmer wrote: I mean honestly, who here gives a rat's ass about reading about other people's problems (that aren't related to computers)? Many of us do and the length of Samantha's thread should prove that!
-
Work stationThe following has just arrived in my Inbox: A bus station is where a bus stops. A train station is where train stops. On my desk, I have a work station what more can I say... :)
-
tabs to 4 spacesNish - Native CPian wrote: Nope! If it's not freeware, don't even give me the link Try this excellent freeware: www.vim.org Haim
-
Freeware used for Software DevelopmentI'm using the best editor there is for Unix and Windows alike: Vim (VI Improved - and my, what an improvement!)
-
deep seas of boredonWhat are you working on currently?
-
Jokes?:) Thanks!
-
Linda Lovelace passes awayIf you take a look at the thread view you'll see that this incident has already been reported and discussed. Brigg Thorp wrote: What a vacumm mouth she had Let's not forget that Linda was first and foremost a human being tragically killed in a car accident.
-
Jokes?:) ;) :) Thanks!