
jayceepoo
Members-
Posts
24 -
Joined
-
Last visited
About jayceepoo
- Birthday 07/29/1979
Personal Information
-
Visual Studio .NET Version
2005, 2003
-
.NET Preferred Language
C#.NET, VB.NET
jayceepoo's Achievements
Newbie (1/14)
0
Reputation
-
jayceepoo started following Road Runner
-
Something like this should work: TableCell1.InnerHTML = "<img src=logo.gif>"
-
I have a variable declared as a char that is going to hold a value in a table (for which the column is char(1)). I populate a dataSet with that table, and I try to assign the value to the variable as: cCriteriaTypeAbbrev = DirectCast(tblDetail.Rows(j).Item("CriteriaTypeAbbreviation"), Char)But I get an invalid cast exception. I stepped through the code, and in the command window, i typed ? tblDetail.Rows(j).Item("CriteriaTypeAbbreviation"), and the command window said that it was a string variable? Does anyone know why this is? Thx for your time...
-
How to capture Keypress event in a custom control?
jayceepoo replied to mhsueh001's topic in Windows Forms
-
How to capture Keypress event in a custom control?
jayceepoo replied to mhsueh001's topic in Windows Forms
Sounds like what you might want to do is set the form's KeyPreview property to true, then do what you want to do in Form_KeyPress, etc... -
Question about displaying strings
jayceepoo replied to rahavtom's topic in Database / XML / Reporting
Not too sure what the problem could be since I don't use Crystal Reports, buy my guess is that you are trying to concatenate to something that is a NULL value. If that is the case, you can change your query to replace NULL values with an empty string, and that should work... -
Question about SqlCommand Object
jayceepoo replied to jayceepoo's topic in Database / XML / Reporting
That's what I thought. Thanks a lot. -
Hi all, I was just wondering if there was a difference between instantiating a SqlCommand object using New, versus having your SqlConnection object create it with the .CreateCommand() function. Thanks a lot. Jason
-
Show us what code you have so far. People here will not do your work for you. You can hire people to do that at other sites though...
-
Strange behavior from stored procedures
jayceepoo replied to Mothra's topic in Database / XML / Reporting
Not sure if this matters, but are you pulling the columns directly from a table, or from a view? When you noticed the column is missing, is it in Enterprise Manager, Query Analyzer, or your program? -
First off, I don't really know what the problem is, so this is just a guess. I'm thinking that you are not getting the right answer from your function. I suspect the for loop is your problem. In your for loop, you are reassigning the value of dFutureVal. Are you supposed to add them together? How about this: For iCount = 1 To iNOM dFutureVal += (dFutureVal + dMI) * (1 + dMIR) Next Or if it's just not working at all, it looks like you called the wrong function name... (Here it's called FutureValue) lblFutureValue.Text = FormatCurrency(FutureValue _ (dMonthlyInvestmet, dMonthlyInterestRate)) But your signature says FutureVal
-
Hi everyone, I have Visual Studio .NET 2003. An odd thing happened to me yesterday when I was going to start a new VB.NET project (windows application). I opened Visual Studio, and on the Start Page, I clicked the New Project button. After a few seconds of processing, I get an error that says "The speicified module could not be found." By the way, I have no idea what module the dev env. is referring to since there is no other explanation of the problem... I thought that was a little weird, so I tried to start a C# windows app, and the same thing happened. This same error seems to happen no matter what type of project I try. After I press the OK button on the message box, the dev env. continues to load an empty solution. I tried working with that, but there were problems as well. I cannot add a new form to this solution because I get an "unspecified error". I have tried to fix the install without luck. I have also completely uninstalled, and the re-installed without any luck either. I still have that problem. Has anyone had this happen to them? Or does anyone know what is going on? I would really appreciate some help in this matter. Thanks.
-
Hi everyone, I just recently got a laptop from a friend, who has recruited me to make a program for him. For payment, he's giving me the laptop, which is fine by me. The project requires me to work with a SQL Server backend, so what he ended up doing was wiping the drive clean, and installing Windows Server 2003 Standard, so he could aslo install SQL on it. The problem is this. I want to buy an Anti Virus / Internet Security program for the laptop, but am unable to find something for it. I tried to install Norton on it, and it wouldn't let me because its running 2003 Server. Tried to install a trial version of McAfee, but no luck either. Does anyone know of a place where I can get some reliable Anti Virus software that won't cost me a fortune? Thanks
-
Hi all, It seems simple enough, but for the life of me, I can't figure it out. How can I start a program with the Window Minimized? Thanks for the help.
-
I have a question for anyone that may be able to help me. I'm working on a few programs for a friend's business. One program (we'll call it program a) checks a network drive for certain files on a local pc and compares them to the files on the network drive. If there are newer files on the network drive, the files on the local machine are replaced with the newer ones. After this is done, program a then starts up the main program that all employees use for daily tasks. The other program (program b) is supposed to check the network drive for a newer version of program a. Program b is supposed to be located on the network drive, and run from the network. So if program a has a more updated version on the network drive, it will be downloaded. This series of events starts when the user clicks a shortcut on their desktop. The shortcut is pointing to the program on the network drive. The program on the network drive should check for newer versions of program a. Program b should start program a on the users pc, then close itself down. Basically, I want to know if there is a way to start a program on a client machine from the server (so that the program on the server starts a program on a PC). Hope I explained it in a way thats easy to understand. Thanks for the help.