Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: brd24gor
  • Content: Threads
  • Order by date
  1. brd24gor

    Page tranfer using button

    I have an ASP button that I want to perform a Server.Transfer when clicked. For some reason, when the button is clicked, the _Click event isn't fired and the page just performs a postback. I've that my _Click event is properly attached to be button, so I know the binding isn'the problem. Any...
  2. brd24gor

    Startup script with Windows XP

    I am trying to execute a startup script using Group Policy. The script runs for a Windows 2000 machine, but not XP. The script is a .bat file that has a CACLS command. Any ideas why this would work for one platform, but not another? --B "Life is too important to be taken seriously" --Albert...
  3. brd24gor

    Crystal Reports 9 and C#

    I am starting to look at deploying reports using Crystal in our C# ASP applications. We have a stand-alone version of C# so we don't have Crystal Reports for .NET. We do have a full version of CR9. What do I need to do to be able to use CR9 in my applications? When I go to add a reference...
  4. brd24gor

    Invalid row handle

    I am trying to to retrieve a value from a table called Session_ID. When the line in my try block is executed, I get a "Row handle is invalid" error. The value I am trying to get is a long integer in an Access database. I have also tried a SELECT MAX and it still doesn't work. You guys have...
  5. brd24gor

    Access Autonumber field and OleDbDataReader

    I keep getting an invalid cast exception when trying to retrieve data from an AutoNumber field in Access. Here is what I have: private int GetSessionNumber() { //Check database connection. If closed, open it if (aLib.SQLConnection.State==System.Data.ConnectionState.Closed)...
  6. brd24gor

    Try block and variable scope

    I am having a bit of trouble with a try..catch..finally block I am writing. When I get to my finally block, the compiler is complaining that it can't find my reader. It doesn't make much sense to me that a variable is the try block would be out of scope in the finally block. private...
  7. brd24gor

    ASP.NET using VS

    Hopefully this should be an easy one. I am trying to start an ASP.NET web app in Visual Studio, but when I try I get the following error: "Visual Studio.NET has detected that the specified web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET web applications or...
  8. brd24gor

    ASP.NET using VS

    Hopefully this should be an easy one. I am trying to start an ASP.NET web app in Visual Studio, but when I try I get the following error: "Visual Studio.NET has detected that the specified web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET web applications or...
  9. brd24gor

    SQL statement error

    This one has me baffled. I have the following code for resetting a password: using(PasswordReset resetter = new PasswordReset()) { if(resetter.ShowDialog() == DialogResult.OK) { string sql = "UPDATE Users SET Password = '" + resetter.Password + "' WHERE " + "User_ID =...
  10. brd24gor

    Outlook address book security message

    I have a user using Outlook 2000 and the first time she goes to send a message Outlook pops a warning message that a program is accessing her address book and is this OK. Reguardless of what she answers, the blank message pops up like normal and she isn't asked again until the next time she...
  11. brd24gor

    OpenFileDialog and UNC paths

    I am trying to use an OpenFileDialog control to get a filepath for the selected image file to store in a database. If I click on 'My Network Places' in the dialog box, my application freezes. Is there something special I have to do so this will browse files on the network? --Brad
  12. brd24gor

    Getting rid of Forms

    I have a question regarding the best way to get rid of a used form. For example, I start my program with a menu form. As of right now, when they click a button, I Hide() the form, create a new instance of the form that will be shown, and Show() the new form. This is done for each form in my...
  13. brd24gor

    .NET security policy

    I have a program I have recently compiled that I want to put out on our intranet. It works fine on my machine, but if I try to run it from the intranet location, I get an... "Application tried to perform an operation not allowed by security policy error" System.Security.SecurityException...
  14. brd24gor

    Word and tables

    Alright, not sure if I'm in the right place here, but you guys have been helpful to me in the past. I am currently writing an app in C# that is generating reports in Word. I'm using VBA code to guide me as the code is 75% similar. I need to know how to go about deselecting a table so when I...
  15. brd24gor

    UNC path for Bitmap

    I am having some problems creating a new Bitmap object with a UNC filepath. Here is my code: Bitmap testPic = new Bitmap(@"\\scbcmain\data\Testing\defaultimage.png"); It works OK if I point it to a file on the local drive. If it makes any difference, I will be showing the file in a...
  16. brd24gor

    Database connection

    I am relatively new to C# and OOP, and I have a question about good programming practice regarding database connections. I am writing a program in which multiple forms will be connecting to a singular Access database. I have the OleDbConnection setup and working. My question is: What is the...
  17. brd24gor

    Is ICS a possiblilty?

    Hey everyone. I work for a blood bank for which we have mobile units that we deploy for remote blood drives. These units currently register patients into our database with a laptop that connects via VPN with a cellular wireless card. Here is my problem. We recently validated some software...
  18. brd24gor

    Problems with a Null field in Access query

    I am having a problem getting the DCount function in VBA to recognize when a cell is null. In my query I have a column called STATUSDef that will either contain a 'D' or be null. Here is the code I am using to do this: 'tlh-def .Cells(13, curColumn) = DCount("STATUSDef", "qryDailyTest"...
  19. brd24gor

    Simple loop question

    Howdy. Hopefully this will prove to be a simple question with a simple answer. I am currently using VBA to format an Excel spreadsheet from an Access module before transferring it to a table in the database. I am writing a loop to format dates from YYYYMMDD to MM/DD/YYYY. While I have the...
  20. brd24gor

    Text in SQL statement

    Using ver. 2003 I am having some problems putting text from a Word doc into an Access table field. I have an Outlook task form I am writing VBScript behind to do this to put text into a work order. The problem is stemming from contructing the SQL statement. Here is my code thus far: set...

Part and Inventory Search

Back
Top