
joe_pool_is
Avatar/Signature-
Posts
512 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by joe_pool_is
-
inserting data into access database
joe_pool_is replied to sg7qb's topic in Database / XML / Reporting
What is the Wizard? Is this one of those tools built into Visual Studio .NET that I have never used? How do I get to it? -
Being an ASP.NET page, it doesn't really have a "Sub Main." You were testing me. Right? For others that have been keeping up with this post, the solution turned out to be similar to what mskeel had said. In the "Property Pages," the "Configuration:" was set to "Active (Debug)" and the "Platform:" was set to "Active (.NET)." These were the settings I assumed mskeel was referring to. In my frusteration, I happened to look into the settings in the "Configuration Manager..." (still in "Property Pages") and found that even though the "Configuration" was set to "Debug," the "Active Solution Configuration:" was not (it was set to "Release"). I changed it to "Debug," and I have not had any problems since. So now I have a question: "Why has Microsoft put 3 (maybe more) places in Visual Studio .NET 2003 where someone goes to set their project up as either "Debug" or "Release"? Wouldn't it make more sence to have 1 place?" The 3 that I found don't even seem to be linked to the same variable within VS.NET. Is that krazy, or is it just me?
-
Well, Wile, I was in fact set to "Release" instead of "Debug" - so I changed that! But it still won't stop on my breakpoints. Anyone else have an idea? (Hey, it is Microsoft! Maybe I need to reboot....)
-
BTW: This is so that the visitor can save files to their individual PCs if they click the "Save File" button. Is this even possible?
-
How do I call a "Save As..." dialog box from my VB.NET "code behind" in my ASP.NET page? I have no idea where to even begin looking.
-
I installed Visual Studio .NET 2003 on a new PC earlier this week, and even though I am placing breakpoints in my code, I can't seem to get it to stop on any of them. Does anybody have an idea of what I could do to correct this? Thanks for your help. Joe
-
Derek, I am posting my files to an ISP using the "Copy Project" feature of Visual Studio .NET. How do I get the full path? I don't even know what that would be. Thanks for helping!
-
Interesting technique. I want to give that a try. Do I need to do anything special in VB.NET to access it from there? Since my apps are already running in the www.my-website.com/aspnet-client directory, would the path be: strPath = "../../Databases/" and file be strFile = strPath & strDatabase ?
-
I have a website with a database. All connections to my database go through a secure connection, however, if someone were to know the name and address of my database file, they could easily download it. Ex: http://www.my-website/aspnet-client/database1.db Anyone who knew this Internet address could download the database. How can I make it so that someone would have to enter a "username/password" combination to access it? Or is there another, more conventional method of doing this? Regards, Joe
-
VS.NET wants a big, complex system with dll's and ... I can't for the life of me seem to get "code on page" (as opposed to "code behind") to work in the VS.NET debugger. I just want one page that is all inclusive, easy and simple. Why? The page, ultimately, will be given to our IT guys to generate an ASP (not ASP.NET) page, and they do not have VS.NET. With it all in one page, I can print out the HTML view, and let them edit it as needed to run their ASP, add their pretty graphics, etc.
-
That was more helpful than you know! I actually downloaded Web Matrix some time back, but forgot about it. Thanks! I've got a new tool! :)
-
How can I create a small, 1-page and 1-file ASP.NET project? I am trying to eliminate the "code behind" by placing my code in ASP tags <% %>. I put together a test page, uploaded it to the ISP, and attempted to load it in IE. I got a "no web.config file" error. I am sure there will be more errors I'll run into if I don't do it right. Could someone show me how to put together a small, simple page with one textbox that gets filled from the Response.QueryString command? There are bits and pieces of info all over the web, but I can't seem to find anything that puts it all together. For example: http://www.my-website.com/page.aspx?name=John%20Doe ...would load page.aspx with the name "John Doe" in the txtName.Text field. Doing this is either so simple it is baffling me, or it requires just as big of a project as any other ASP.NET application. Thanks for helping. ~Joe
-
not sure what to call it...
joe_pool_is replied to Getox's topic in Interoperation / Office Integration
Try this: Me.AxWebBrowser1.Navigate(TextBox1.Text) Where TextBox1 is the name of the textbox. I've got not idea what AxWebBrowser1 is in your application, but I think this is what you are looking for. -
Can .NET be used to create DLLs or ActiveX controls for VB6 applications? We have a lot of old VB6 apps that we continue to develop on, and I'd prefer to create my new code in VB.NET and create a DLL that I can reference the Properties and Methods of. Then, once the boss decides that he is ready to spend the man-hours converting our old code over to .NET, some of these newer techniques will already be accounted for. If anyone knows of websites or example code that demonstrates some of this, I would greatly appreciate it.
-
I need find out how to compress a group of files into a single file that will then be emailed to a preset address. WinZip does not have an SDK that I could find, and PKZip's SDK would cost me a whopping $3,500. Ouch! So, I am looking into developing something on my own. It doesn't have to be fancy, and I would probably develop it as a console application. I just need something that will glue all the files in a project together and maybe compress them a little before it gets emailed out. Any ideas on where to find info like this would be greatly appreciated, or if someone knows a simple method of doing this in .NET - that would be wonderful! Thanks in advance for any help, Joe
-
Q. Access and Adapter.InsertCommand
joe_pool_is replied to joe_pool_is's topic in Database / XML / Reporting
This version of inserting data into my database worked great, and it appears very efficient. Now, I would like to learn how to update and read data from my database like this as well. Does anyone know where I can find information on this? What is this type of reading, writing, and inserting technique called? (that will give me something to search under) Best Regards, Joe -
On Saturday, I was sitting at home banging out some code. I had just finished reading up on Session variables, and I was putting my newfound knowledge to work. I declared/added my session variables in the Global.asax file under the sub Session_Start routine. In my logon.aspx file, I set my login variable to True if the password matched the password stored in the list. If it was True, then the next page, database.aspx, would successfully load. Then I started debugging and adding features to my database.aspx file. I populate my DataGrid with data from the database, and allow the person logged in to view/manipulate the data accordingly. I'm debugging along, having a productive day, when on one of my debug attempts, I hit F5 to start the debugger but my IE browser simply never started. Sometimes it takes a while for the IIS to get rolling, so I went and had a cup of coffee. Came back, and it was still froze. The "Start (F5)" debug button in Visual Studio .NET had its Enabled set to false (non-clickable), yet the Pause Debugger (||) and Stop Debugger buttons had not shown up yet. I tried to exit Visual Studio, but it was froze, too. Finally, I resorted to CTRL-ALT-DEL to force VS.NET to yield the computer back to me. I restarted VS.NET, and tried to reload my project. This is when I got an error telling me that my web project could not be found or that it was invalid. (I had intended to give you the exact message, but it did not display for me this morning) My project was listed in the Solution Explorer window, but under it, there were no files. It said something like "project not found" or something to that extent. I figured IIS had locked up or hung on something, so I shut down and restarted my laptop. Same problem, so I rebooted a second time. Same problem. This time, I dug around in the IIS settings long enough to figure out how to restart the IIS server (why can't they make that process easy?). I tried starting my project again, but it still gave me the same error message. Rebooted again (hey, this is Windows, right?), but experienced the same problems. Today I came in to ask some help on the boards. I started VS.NET and clicked on my project in the recent files list so that I could write down the exact error message VS.NET has been giving me ... and the darned thing starts up! Why? I didn't do anything different this morning. How could I have gotten this silly thing to run for me over the weekend? I must admit that I don't understand everything that is going on with IIS and this whole .NET Framework. Was there something I could have adjusted or reset that would have allowed my weekend to be a little more productive?
-
How does one create webforms on the fly with .NET? If someone were to click the Go button on a webform, how could my code create another simple webform that I could then write VB code for? How would I create the VB code needed for this page? I attempted adding all of the HTML into a string variable, then calling that with Response.Redirect(strHTML), but that idea was no good.
-
PlausiblyDamp: I like that new avatar! :) Q1. What version of VS / Framework are you using? A1. VS 2003, Version 7.1.3088; Framework 1.1 Version 1.1.4322 Q2. Have you tried rebooting your system and running the app again? A2. Yes. Sometimes, that seems to help. What does this mean? Also, once the error occurs once, it seems to happen more often. (pending another reboot) Q3. Are you declaring any Shared objects with shared constructors? A3. My form is a small part of a larger company project that has several programmer's fingers in it. I'm sure there are Shared objects. The only thing I am using in my portion of the code are grids and charts from ComponentOne.com. I'm wondering if their controls are having the problems and not mine, but I can't think of any way to prove this theory. (Maybe the DataGrid isn't reading correctly, etc.) Q4. If it's not too large you could post the code here and see if anybody can help A4. It is pretty big, and the main Project variables that I work with come from other forms from within the MDI form. I wouldn't be sure how to do that without posting everything. Even then, since I have the ComponentOne grid and chart, most of the others on here wouldn't be able to run it. Diesel: "some variable you forgot to delcare using new." If that were the case, wouldn't the debugger break on that variable instead of giving me a "no source code available" message?
-
If it is in your application and someone presses the Print Screen button, you could try to immediately flush the Clipboard contents. Or, better yet, edit the Clipboard picture so that your name is plastered all over it. BTW: I've never personally worked with the Clipboard contents, but I've read a lot of little snippets of code about working with it. It'd take me a bit to figure out exactly how to flush or edit that pic.
-
I have some code that I am trying to step through in my debugger. I have set a breakpoint on my button's click event, but when I click this button I get an error before the debugger ever gets to the click event breakpoint. Here is my error message: An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module. Additional information: Object reference not set to an instance of an object. If I click Continue, my program terminates. If I click Break, I get the following message: There is no source code available for the current location. Does anyone know how I can go about fixing (or debugging) this? I am stumped. I can't even get the debugger to step into this.
-
Does anyone know how to add and subtract values from DateTimePicker controls? I can't find anything on it in the VS.NET help. One set on a form I'm working with has the dtpCompleteDate1 and 2 (Tuesday, January 1, 2000), and the other set uses dtpTimeOnly1 and 2 (06:00). In the perfect world, I could just subtract dtpCompleteDate2 - dtpCompleteDate1 and use the resulting number of days, or subtract dtpTimeOnly2 - dtpTimeOnly1 and get an integer number representing the total number of hours. Is anyone good at this? Any place you could point me, or anything you could share?