dragoncells's Q&A profile
Smart Device Development Bind NDIS Intermediate Driver to USB?
HI, I'm developing a NDIS intermediate driver vor Windows mobile 2003. The driver already bind to Irda. My PPC connects to the internet via USB and I have to filter these packages. But I have no idea how to bind the driver to USB. Any solutions THX winterb Hi , This forum is primarily monitored by Visual Studio for devices group. Please check this link for more appropriate forums for this type of queries . http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286724&SiteID=1 Thanks Srikanth Bogadapati .,- ...Show All
Visual Studio 2008 (Pre-release) Cancel a long process Async call
Hello all, I have a method taggued in the contract as "IsOneWay=true". This method have a long process. I m currently develop an windows application. I want to may user can cancel his request. So i do this : ChannelFactory<IWSSignIn> iSignInFactory = null; IWSSignIn signInProxy = null; iSignInFactory = new ChannelFactory<IWSSignIn>("WSSignIn"); isignInProxy = iSignInFactory.CreateChannel(); iSignInFactory.GetData(); // IsOneWay method with a long process I think that i must use abort method as this : iSignInFactory.Abort(); This work but the channel goes to close state. There is another possiblity Thanks for your help Nicolas On the cl ...Show All
Windows Forms How to add member variables to a dialog?
Is there an easy way to add a member variable to a dialog With some difficulty, I have located the "Add member variable" Wizard, which is cumbersome, and takes approximately 60 sec from the time I click OK until it returns. Hi, If what you use is the template dialog such as OpenFileDialog or MessageBox, it's impossible to add member variable to it. You have to inherit it to write your own dialog. But if your dialog is just another form, you can easily add you member variable in your form class. ...Show All
Smart Device Development VS .NET to VS.NET 2005
I have a problem with the conversion of dates after migrate of VS.NET 2003 to VS.NEt 2005 Test: Dim oDate As DateTime = DateTime.Parse(oDst.Tables(0).Rows(1).Item("mydate").ToString()) Error: invalidcastexception ..... In my project of vs.net 2003 worked well that code I sorry for my inlges ... i speak spanish Thanks. Thanks Ryan .... work!!!!!!! ...Show All
Visual Studio 2008 (Pre-release) Dimensioning a ScrollViewer to fit remainder of a window
I've implemented a window containing a menu bar at the top. I'd like the rest of the window to contain contain a ScrollViewer which resizes whan window is resized. Both are contained in a StackPanel. I came up with the following event catcher: if changing outer stackpanel to Dockpanel will work, < DockPanel > < Menu Name = " UpperMenu " DockPanel.Dock = " Top " VerticalAlignment = " Top " HorizontalAlignment = " Left " Height = " 20 " Background = " LightGray " Foreground = " Black " ClipToBounds = " True " > < MenuItem Header = " File " ClipToBounds = " True " > < MenuItem Header ...Show All
Visual Studio Express Editions Excel columns delete
hi, I want to delete some columns in Excel sheet. I am using the following syntax. all the columns are deleted but P3:P15 column not deleted. the P3:P15 values coming to L3:L15 place.and it is not deleted oSht.Range( "L3:L15" ).EntireColumn.Delete() oSht.Range( "O3:O15" ).EntireColumn.Delete() oSht.Range( "P3:P15" ).EntireColumn.Delete() oSht.Range( "N3:N15" ).EntireColumn.Delete() oSht.Range( "M3:M15" ).EntireColumn.Delete() what's wrong with this excel Any help Thanks It looks like when you are deleting a column, it shifts everything over to the left one column, so you might be deleting the same column over and over again. I would try setting up a loop to delete the current column 5 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture diffusing...
Hi all - my question is how can I get textures when drawn not to diffuse. This happens when the destination rectangle is bigger than the source rectangle - instead I just wnat to "magnify" the image...stretching the texture out horizontlaly, vertically, or both. With everything I try I either get diffusion (i.e. the image fades as it is stretched, making it semi-transparent), or I get pure black. :S Please tell me what I need to do if possible - thanks very much. Alex Sorry for being noobish, but how do I disable mipmapping Or does your (Shawn's ) code already do that ...Show All
SQL Server New to SSIS, seem to me missing something fundamental:
I am attempting to import data into SQL 2005 (using the Tasks->Import Data wizard) and get as far as selecting a datasource. My source is ODBC and I am selecting ".NET Framework Data Provider for Odbc" but then get stuck on the connection string... I am attempting to import from 'Relativity Client' which as far as I can tell is an interface to a Cobol database, I have also had this problem importing from FoxPro - how do I come up with a connection string I have also tried to create a DTSX package, created the connection to the odbc source, tested ok, then when selecting the connection as a source (datareader source) I get the message 'Cannot acquire a managed connection from the run-time connection manager'... I have als ...Show All
Windows Live Developer Forums Two Newbie Questions
Hi, I am a VE newbie looking at the Map Control + ASP.Net Atlas for a site I'm working on and would like to confirm two things: 1) I am looking to display a map, allow the user to select an area (by clicking on consecutive spots to define the area's polygon), and then get the lat/lon for the area they chose. Is it possible to do this in VE 2) The app I'm developing is commercial (only subscribers may access it) and this would be a small utility function in it. Is that permissible The terms of use at http://www.microsoft.com/virtualearth/control/terms.mspx say "You will not access the API or use the Service and Your Application...(e) to sell, lease, or sublicense Results or access to the API or the Service; or (f) to sell, ma ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Again - C++ DirectX Error
Hi, i moved back to the C++ due to .Net memory management( slow down my app), anyway.... i recompiled the DirectX's C++ examples (October 2006 SDK) and when i run the examples a error ocurs, in the tutorials(No DXUtils) the error location is more evident: *this error code is from the Vertices tutorial. The Error: Unhandled exception at 0x6604a92f in Vertices.exe: 0xC0000005: Access violation reading location 0x00f2b000. The Location: LRESULT WINAPI MsgProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam ) { switch( msg ) { case WM_DESTROY: Cleanup(); PostQuitMessage( 0 ); return 0; } return DefWindowProc( hWnd, msg, wParam, lParam ); The error appears at the end of this function . (green arrow in debugger....) -> ...Show All
Visual Basic TableAdapter.Update command issue
Hi, I'm pretty new to VS 2005 but I have a strange problem with the TableAdapter.Update command as it runs successfully but will not update my unlined bound database table. Any suggestions on how I should identify what's going wrong or to fix it. The command I run at the moment is: me.tableadapter.update(me.dataset.datatable) Thanks, John To elaborate a little further on what renee has said, how are you determining it hasnt updated the database, are you stopping you application and restarting it in debug. If so then the likelyhood of the database being overwritten each time you start restart the application in debug is pretty common and presents and illusion that the update may not h ...Show All
SQL Server sp_issues
hi i have the following sp. i want to be able to create a view from the sp that will store the data that can be retrieved with the select statement my sp returns me. if the table exists, it should be dropped i suppose, because columns may vary. now i also want that enough info be stored to retrieve information again from the view, that i can map the records back to their original form how do i set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo] . [sp_DetailedBill_byPono] @payment_or_bill nvarchar ( 2 ), @pono nvarchar ( 25 ) AS BEGIN SET NOCOUNT ON ; DECLARE @fieldname varchar ( 10 ) DECLARE @stmt varchar ( 4000 ) DECLARE Fields CURSOR FOR SELECT A ...Show All
.NET Development Problem with System.Net.Mail and bulk mail sending
Hi, I'm trying to create a winform application for sending newsletters, but I'm having some troubles with system.Net.Mail.SmtpClient, I just read mails recipients(from Excel or DB) in a Dataset, and I step into each row in the dataset and send the mail to the recipient, everything works correctly at first, but when I have sended about 100 mails, it starts to give this error in each mail I try to send: Failure sending mail. System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to use this code into my another code?
How to put this code using System ; using System . Diagnostics ; using System . Runtime . InteropServices ; namespace DirectShowLib . Test { public class IBasicAudioTest { IFilterGraph2 graphBuilder = null ; IBaseFilter filter = null ; IBasicAudio audio = null ; public IBasicAudioTest () { } public void DoTests () { try { // We need a stereo sound renderer... BuildGraph ( "foo.avi" , out this . graphBuilder , out this . filter ); this . audio = ( IBasicAudio ) this . filter ; TestBalance (); TestVolume (); } finally { Marshal . ReleaseComObject ( this . filter ); Marshal . ReleaseComObject ( this . graphBuild ...Show All
Visual Studio Express Editions Embedding an EXE in a C# Application
Hi, I was wondering if it is possible to embed an EXE into a C# application If it is possible can enybody tell me how to do it. Cameron I believe you should embed it into the resources http://msdn2.microsoft.com/en-us/library/7k989cfy.aspx http://www.c-sharpcorner.com/winforms/CreatingNUsingResourcesCB.asp http://support.microsoft.com/kb/319292/en-us spid=3041&sid=220 I hope these will help you ...Show All
