nanceoiage's Q&A profile
Windows Forms How to: Webbrowser NewWindow and Navigating equivalent to axWebbrowser
At first, I enjoyed the new webbrowser control but then I noticed that the args provided by the events NewWindow3 and BeforeNavigate of the axWebBrowser had not been implemented in the new control. Arg. Good news, the guys from Microsoft gave us the a workaround recently in C# and said they will publish a sample soon on MSDN. In the mean time, here is some VB.net code inspired from Microsoft's C# that will give you 2 new events an ...Show All
SQL Server Running query in SQL 2005 stored procedure against table on SQL 2000
I'm trying to set up Service Broker Services on SQL 2005 x86. I've got two services set up, and a stored procedure associated with one of them. The stored procedure is going to execute a query against a database on another server running SQL Server 2000 SP3. I can get the stored procedure to activate by using ALTER QUEUE WITH ACTIVATION...EXECUTE AS USER My problem is that the execution of the query within the stored procedure ( selec ...Show All
Visual Basic what about "can't change combobox height vb.net 2005'
In vb.net 2003 it was possible change the height of controls like textbox (with multline set to false) and combobox, now in vb.net 2005 I can't. there is a way to change that Hi David I don't want change the Height of the Items in the Dropdown Box! I will change the Height of the control! See Link to sample above. Horst ...Show All
Visual Studio Express Editions Disabling the close button
This may have been asked before, but I cannot get a solution to this - how to disable the close button in the title bar (the red cross on the upper right corner). I have seen code examples in the net using the API functions which are supposed to work in VB6, but they dont in my Express Edition. You can try this to hide the x button. On the properties of the form1 for example look at properties and find controlb ...Show All
Software Development for Windows Vista Support for multithreading workflows?
Hi, the announcement of WWF and the beta are great news . There are nice ways to run and sync workflow services in parallel. But I would like to know in what way the WWF framework supports parallel workflows in one service, i.e. in different threads: Do I need different workflows in seperated threads and write my own sync mechanisms or can I - in some way I could not figure out - use the designer to split one workflow into different threads ...Show All
Windows Live Developer Forums Sample tictactoe file not showing in messenger
The activity sdk that I downloaded comes with the tic-tac-toe sample application. The steps I followed are as follows - I edited the msgrp2p.xml file to point to my local webserver. I placed this .xml file in C:\Program Files\MSN Messenger. I then transferred the htm file and graphics to the local webserver. The problem is that the "Actions" menu does not show any link to launch the sample application when I start the MSN M ...Show All
SQL Server Dynamic connection manager file name
Hi There This should be an easy one i hope. I need to dynamically change the file name of my destination flat file connection everytime the package runs, obviously i do not want to edit the config file everytime. I think the best way to do this is by a script taks that sets the connection manager filename property with a variable that i dynamically populate. Is this the right way I just want to be sure that there is not an easier ...Show All
Visual Studio Express Editions Newbie - File copying confusion
Hi I am severely struggling with even the basics of this part of my project. I have a destination path in a variable, selected via the FolderBrowserDialog function, and this works fine. I have a ArrayList of source paths, mixed folders and files. eg a file as C:\My Documents\TextFile.txt eg Folder as C:\My Documents\Folder1 I am trying to copy each item as follows: if it is a file, copy to destination folder, if it exists, ...Show All
Visual C++ Dynamically bind to a library and function
Within my .NET managed class instance called LibraryFunction i want it to be able to: 1. Dynamically load a given library given it is not already loaded. 2. Dynamically bind to a function/method within this library. 3. Call this function with a given set of parameters. The binding is made possible by instance variables like mLibName and mFunctionName. My current unmanaged class uses code like the following: FARPROC f = (FAR ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How can I get a part of Device's final rendering Image to save as like Bitmap?
How can I get a part of Device's final rendering Image to save as like Bitmap Exsample,if Device's final rendering Image is 800*600 pixel.But I only want the 300*200 pixel In the center And save it as a Bitmap. Hi, check the code and the comments, it should explain how to do it: // Get the back buffer (content that the device will show when you call present) IDirect3DSurface9* backBuffer = renderDevice->GetBackBuffer(0); / ...Show All
SQL Server XML not loading into SQL Server, because identity not incrementing
I am having an issue loading data into a SQL table from an XML file. I have a Customer Table and a Phone Table related by a customer ID key. The primary key of the phone table is an autogenerated numeric field. The identity of this field is set to yes, and the seed and increment are set to 1. The foreign key relation is the customer ID. I am using the following script to read the XML file and pass the data to the database ...Show All
Smart Device Development Pocket PC error: "Unable to connect to the remote server"
I have developed a Pocket PC 2003 app in Visual Studio .NET and am getting an unusual problem i can't get to the bottom of. My VB.NET Pocket PC App tries to call a simple web method on my webservice from the device using the webserver's IP or Machine name and receives the error " Unable to connect to the remote server". Yet if i point the device's IE browser to the location of the webservice asmx file (i.e. http://192.168.1 ...Show All
Visual C# C# .net to Excel - Insert Function into Excel VBA Editor
Hi guys, The code below is a VBA function into Excel VBA Editor. The function opens an unknown file using 862 code page, save it as txt file, and reopens it using 28598 code page. (That's the way I succeeded to read the unknown file using Excel). You can download the unknown file from this site: http://rapidshare.de/files/19995657/Unrecognized_files_examples.rar.html (When it opens click "Free" in the middle ...Show All
SQL Server Strange problem with DataReaderSource
Hi there, I have a very strange problem with DataReaderSource. I'm trying to get data from InterBase table. I created a Connection manager and the connection was successful. The SQLCommand in "Component properties" tab is a simple "select * from <table_name>". When I switch to the "Column mappings" tab, only the first column from the table is displayed. Pressing the "Reftesh" button resulst in the following error: Error at Data ...Show All
Visual Studio Express Editions Check Grid
Hi, I want to draw a grid in picbox (eg. 6x10) and when I click on it I want to fill the block I've clicked and on dbl-click want to fill it with a tick. I've done this in vb6, but struggle in vb.net. I've tried to load buttons in a grid order (grid of buttons) during runtime, but when I load too much buttons it's too slow. If anyone have any suggestions, I'd realy be gratefull. Thanx.:) Hi, Thanks, I did use the method you've described. I' ...Show All
