hdp203's Q&A profile
.NET Development Large data transfer
I created a local web service that accepts a byte array as a parameter and then I write the data in the array to a hardcoded file name. I added the following entry to the web service app's config file and my computer's machine.config files: < httpRuntime maxRequestLength = " 1048576 " executionTimeout = " 180 " /> I can successfully transfer 50 megs worth of data but it fails with the following error msg when i try to send a 100 megs of data (1 gig is my goal): {"The underlying connection was closed: An unexpected error occurred on a send."} System.Net.WebException: {"The underlyi ...Show All
Visual Basic Standalone application
Hi, I am looking to produce a standalone application supplied on a cd, which will be given to sales reps. They in turn will open this program from the cd or their computer. The program will have the facility to choose different powerpoint slides from different powerpoint presentations represented by thumbnails. Some of the powerpoint presentations contain numerous sections with numerous slides in each section, so it would be best if there was a button named “example” for the chosen powerpoint file called “example.ppt”. The button “example” would have a dropdown menu for the sections within “example.ppt,” this when clicked will provide a win ...Show All
Visual C# How to update an Access Database (C#)
Hello All, I am a little new to Visual Studio, but I hold 3 years programming experience in both Java and C. I have created a program for my wife that allows her to organize and save her DVD collection to an access table. The program works just fine except for the save part. I can run my application, insert, delete, and edit the contents of the database, but it will not save. To my knowledge I am only working through the dataset and the data never hits the database file itself. I just need a little help here because I am excited to get this application rolling. It is a little useless if you can't save data. I have an access database ...Show All
Visual Studio Express Editions Help: form focus
hi, i have a method to close my form, but it simply send a message box to ask if i want to save the changes or not or to cancel closing the form. the problem is when i cancel the form closing my form go back behind every running program on the desktop here its my method tell me what is wrong on it Private Sub Main_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me .FormClosing Dim result As DialogResult result = MessageBox.Show( "do you want to save the changes before you close " , _ "Save Changes" , MessageBoxButtons.YesNoCancel, _ MessageBoxIcon ...Show All
SQL Server How to add SQL statements to the package created by Export Data wizard?
How to add SQl statements to the package created by Export Data wizard I need to add SQL coming from file, the flow would be like this: 1) SQL would drop all objects: (views, tables, stored procedures) etc 2) SQL would create all objects: (views, tables, stored procedures) etc 3) Export Wizard SSIS package would execute Also is there a dynamic way to add more tables do the package once created in SQL database I would like to put the whole task on a scheduler too... RADIOGENERIS wrote: How to add SQl statements to the package created by Export Data wizard I need to add SQL coming from fil ...Show All
Visual Basic Deploying Windows Media Player
What is involved in deploying a vb.net 2003 application with the Microsoft Media Player component What files must be part of the build thanks, Fred Under COM in your references: Windir/System32/wmp.dll This can be added to your tool box as a normal contro,if your like via Tools|Choose Toolbox items|Com| Windows Media Player If you are serious about programming this, I recommend that you read the documentation on mcisendstring. Good Luck ...Show All
.NET Development insert
How can I insert new record to database programmatically please, send a walkthrough Have a look at the SqlCommand class, and use an SQL INSERT query do do it. Have a look at the Parameters collection of the SqlCommand class, etc..... I believe there are examples in MSDN. ...Show All
Visual Studio Generate many files from one template?
I have a DSL now taking shape, including generating code that executes properly, and I must say I am pleased with how quickly it has come together. Now I have a secondary goal to fill: producing static documentation from the diagram. I'd like to produce a set of HTML files (one for each instance of the primary classes in the DSL). I don't see how I can do that with the current structure, which allows me to generate exactly one file from each template. Do I need to create a new DirectiveProcessor or TextTransformation class Can you offer any pointers on how to create many files from one template Thanks, Brian. ...Show All
Visual Studio Tools for Office Toolbar button on all mail items in Outlook 2003 using VSTO
I'm new to VSTO and Outlook programming. I'm having difficulty creating a toolbar button that will appear on all mail items (both new mail and received mail.) When I use the code in the Outlook programming labs for VSTO, it seems like the button only appears on the first window I open, and not on any other window. Does anyone have a quick snippet of code that can show me how to do this Thanks, Ike Hello Ike, well when programming Outlook there are some pitfalls. Maybe you can look on my VSTO Sample "X4UTools" that deals with multiple Explorers and Inspectors and also when you use Wo ...Show All
Windows Forms Can't get images on toolbar buttons when running
Hi everyone, I have a VB.net application that has a toolbar with several buttons. The first two buttons are the standard "save" and "print", with those typical images. My problem is they show up and work fine in the form designer, but when I run the application the images assigned to the buttons do not appear. Can anyone tell me  ...Show All
Visual C# deriving from System.ValueType?
Should I derive my objects from System.ValueType I think this would be ok if my objects consist of just value types. If it doesn't, I'm not sure what will happen. Maybe the compiler make the choice for me Thanks Jason Sorry, I'm being stupid - the compiler won't let me derive from System.ValueType!! ...Show All
Visual C++ DirectX SDK uses libcp.lib that was removed in VS 2005 beta 2
The latest Direct X sdk that supports Windows 2000 OS is dx90c december edition. d3dx9.lib from DirectX90c SDK (december 2004) has string /DEFAULTLIB:"libcp" There is no libcp.lib in VS2005. So, I have LINK : fatal error LNK1104: cannot open file 'libcp.lib' Tell me please, how to fix this I'm going to link my direct x application uder VS2005 beta 2... dx90c april SDK (for windows XP only) has no references to libcp.lib I think there is a better solution, but in the mean time either... 1) Download the April or June SDK instead. 2) Project Settings->Linker->Input->Ingnore Specific Library with that lib. ...Show All
Software Development for Windows Vista Vista 5270 ATI Driver
I've just installed Vista 5270 from my MSDN subscription, and I've gotten all of the hardware to work except my display driver. I currently have an ATI Radeon X800 XT (AGP version). Under Vista 5239, it installed without a hitch using the driver included on the DVD. The driver available from http://www.ati.com/ refuses to install. I've also attempted to use the drivers available from the Vista 5239 DVD with no luck... Anyone else have any suggestions how did you attempt to load the driver from the old DVD This has worked for me in the past. Put in the Old version DVD and t ...Show All
Windows Forms Update Data With EndEdit and Validate
Friends, Two questions, hopefully both easily answered. First, here is a small piece of code I pulled from MSDN to add records to a data source from a form. this .Validate(); this .myBindingSource.EndEdit(); this .myTableAdapter.Update( this .fleetDataSet.myTable); First question is: What is the Validate() method supposed to do I can find nothing on this one. Second, what do I need the EndEdit method for The pathetic little description of this method in MSDN library says, "Applies pending changes to the underlying data source". Isn't this actually accomplished by the update() method in the third line My particular ...Show All
Visual Studio 2008 (Pre-release) support for Access
Do you intend to include support for Access databases AFAIK they are thinking on supporting all databases in one or another way - perhaps through providers (there is also a post in the subject somewhere in this forum) ...Show All
