gagis's Q&A profile
Visual C++ bind process to ip
hello, I have a computer with 2 IP, I need to find a way to bind IExplorer to 1 IP, and firefox to IP 2. is it possible can i change any process bind ip on the fly tanks shimon I try to write a small proxy server and bind it to ip 1 and Ander instance of the proxy bind to ip 2 and configuration the web browsers to each proxy thanks shimon ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How can configure DirectX sdk in VC.NET environment for running directx program??
How can configure DirectX sdk in VC.NET environment for running directx program i known that i can include lib file and header file in v c++ but in environment of vc.net,how to configure it when compile directshow sample,SHOW ME: ERROR:PushSource error LNK2001: cannot translate outer character _CLSID_FilterMapper Try this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=595754&SiteID=1 ...Show All
Architecture Integrated Windows Active directory authentication
Hi Ours is a distributed client server application(WinForms). We are evaluation two authentication models, one using Active Directory windows authentication and other is custom SQL server based authentication. If the workstations are not connected to the domain controller and the user was authenticated(during logon to the workstation) using workstation cached credentials, will the integrated windows authentication work in such cases Is is secure to rely on cached credentials Will windows use the cached credentials to authenticate the user even if the workstation is connected to the domain controller Thanks, Dharan Thanks for the response. Just to clarify, I wanted to understand in a typica ...Show All
Smart Device Development Massive Update
Hi, I'm doing a massive update into a table (more than 100), it's taking a lot of time is there a way to optimize this processe in CF2 Regards Mario Most optimal way to perform an update is to use prepared parameterized query executed in transaction. If you're already doing that it's as good as it gets. If not you have a potential to speed it up, may be even by factor of 10 – that depends on how inefficient your current code is. Note: I’m assuming you’re using SQL Client or SQL Mobile – you really should provide details next time including your environment and code. Please see this on what information to provide: http://www.danielmoth.com/Blog/2005/03/please-read-before-posting- ...Show All
Visual Studio Differences in IDE and MSBuild for Web Project
Hi, I've got a wierd one. I've got a Solution that contains a Web project and a DLL project. The web project references the DLL project and The DLL project references 3 thirdparty dlls. When I build from the IDE, The build copies all the dlls from the DLL's output (my dll and the three thirdparty dlls.) However, when I build from msbuild, It neglects to copy one of the dlls. It is always neglects the same dll and it never gets copied. I've tried debug and release configurations and it is the same thing. I'll post whatever anyone thinks is helpful. thanks, nathan You are right, this is the behavior in the RTM version of Visual Studio 2005. I just crafted a quick sample repro case that I get to reproduce th ...Show All
Windows Live Developer Forums How to get the addresser and subject of a new email?
I am doing some hotmail notification program. I am able to tell the arrival of a new mail but enountered this problem: how to get the "from address" and "subject" of a new email Thanks! The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is available on the Messenger newsgroup: http://support.microsoft.com/newsgroups/ dg=microsoft.public.msn.messenger&cat=en-us-msn&lang=en&cr=US&ln=en-us nntp://microso ...Show All
Visual Studio Why no task for?
Hi; I can work around this by just executing the program but I'm curious - why no tasks for: signcode.exe sn.exe Both are needed in any build process for a commercial product as the code needs to be signed and then strongly named again. thanks - dave In the first version we only provided tasks that we needed to convert the VS2003 build process to MSBuild. We spent all the rest of our time on the engine itself, figuring that tasks could be added later by ourselves or others. In future versions, we're hoping to make creating wrapper tasks far easier. Meantime, you can create your own task (by deriving from ToolTask), or use Exec to launch the tools directly, or possibly someone else has such a task. Dan ...Show All
Visual Basic How to upload files
Hello I got a problem with uploading files. Look at the code: My.Computer.Network.UploadFile ("D:\file.txt", " http://www.onh1986.com/file.txt ", username , password ) And I set permission to "777". And it couldn't to upload the file. What's problem, please Thanks & Regards Okay...is the reason why a secret Do we need to guess I've had success using FTP uploads, as long as the server allows it, which presumably it does since you say you can upload the file using some other FTP program. ...Show All
SQL Server Datafields in report header
Hi. I want some information stored in the database to be shown on the top of each page in my report. But in the report designer I get an error message if I try to drop a table in the header, and if I try to assign the value of a textbox in the header to e.g. "First(Fields!sometable.Value)", I get a runtime-error in the preview that says "... Fields cannot be used in page headers or footers". How can I do this Regards, Tomsi Another way to do this is to have the Data you want displayed in the header to be retrieved into Report paramaters. Then the parameters can be put in the Page Header. Set up a Paramater for each piece of Data you require and retrieve into the Paramaters setting ...Show All
Software Development for Windows Vista Rc2
Dear sir I am trying to install Rc2. At that time the setUp is install .Net3 frameWork . Once install is over I try to create new project in VS 2005, the WorkFlow not apperaring in the project list. so plz guide me. I am using XP PRO Hi, You can download the WF Extension (RC2) at: http://www.microsoft.com/downloads/details.aspx familyid=63A80A4B-BD27-4124-A2A5-61786ADB626E&displaylang=en SDK is available at: http://www.microsoft.com/downloads/details.aspx FamilyID=9221A6AA-AC1C-4604-A326-B8CF2B12B6EB&displaylang=en Andy Ho ...Show All
Windows Forms How to color a particular cell in datagrid based on some condition.
I have a datagrid control which consist of three columns first consisit of boolean second text and third consist of integer data types. Now i want if my boolean column consist of true value its corresponding integer column should consist of value greater than zero. If this is not the case then its backcolor should change to red. This color change should happen before my user wants to save the data into the databse.Please help me out how can i do this. I am a newbie in this field. Any kind of help would be appreciated. Thanks a lot in advance..... You can do this in multiple ways. It depends a bit on the exact needs and when the cell needs to change color. Here is a solution that changes the colo ...Show All
Windows Live Developer Forums Who to ask?
I don't mean to post this issue here but, whom would I get in touch with to have someone's MSN Space blog edited. The problem is slander and profanity. I have used the report abuse link and reported the issue 4 times in the last couple of month's with no answer. I have even politly asked the person to edit it. Thanks, the problem lies within the division part has it returns zero whenever the correct value is less than 1.0 (ie 0.3, 0 . 23 etc) ...Show All
SQL Server The problem of xp_cmdshell_proxy_account
Hi, Dose xp_cmdshell_proxy_account can execute or grant to "SQL Server User" On BOL: sp_xp_cmdshell_proxy_account [ NULL | { ' account_name ' , ' password ' } ] account_name Specifies a Windows login that will be the proxy. But now I use SQL Server user and execute xp_cmdshell use non-admin SQL server account, When I execute ths SP include xp_cmdshell, it responses the error message: Msg 15153, Level 16, State 1, Procedure xp_cmdshell, Line 1 The xp_cmdshell proxy account information cannot be retrieved or is invalid. Verify that the '##xp_cmdshell_proxy_account##' credential exists and contains valid information. From the BOL I know the account_name is Windows login, but can specify a SQL Server a ...Show All
Visual Basic Search using tableadapter.fill returns: There is no row at position -1. (Index out of Range)
Hi, I am working on a form (details) and I need my form to allow to search on some char fields. I have a button next to the field users can search. The button calls a pop-up form to enter the string to search. ItemsTableAdapter is the table adapter used for the form. I have 1863 records in the Items table. My goal is to show only the records matching the string using the same form. I have modified the DataSet to add a query using a parameter: SELECT No, Type, ..... Interest3 FROM items where nm_latin like @srch_nm_latin order by nm_latin This code is executed when I return from the pop-up. The string contain a string. Example: "thing%" If (String.IsNullOrEmpty(Me.Recherche.Text) = False) Then Dim rech_str As String = Me.Recherche.Tex ...Show All
.NET Development How to fully close an MDB File?
Using C#, I've built an export engine in my WinForms app that successfully writes data into a series of tables in an MDB file. At the end of the operations I dispose of the connection object - ie. "conn.Dispose();" But yet, until I close my app, the MDB's companion "LDB" file doesn't disappear. What else do I need to do to get the LDB file to disappear as soon as the export is complete Robert It's possible that connection pooling may be keeping the database open for a short period of time. That may explain why the .LDB file is still present. It's also possible that you may have other or implicit connections from your application. In a networked multi-user scenario this is also ...Show All
