mukundb's Q&A profile
Windows Forms Problem uploading image to Access dB and SQL 2000 dB
I have a problem uploading an image to a access and sql 2000 database. I tried doing it in asp.net and it work great. But in a windows forms it doesn´t work. The code below is almost taken directly taken from asp.net. When i invoke the Upload button all values are stored in the database except the binary "Image". What am i doi ...Show All
Smart Device Development changing the active profile.
is it possible to change the active profile in the .net compact framework for smartphones if not is it possible in c++ I'm not sure how to change the active profile using code, but there is a software called AutoFlight which is used for this purpose.( http://www.anycities.com/user/inputshow/autoflightv3en.htm ) ...Show All
Visual Studio Express Editions Registered 5 Times Visual Web Developer Express but no Product Key
Hi Folks, I downloaded Visual Web Developer and have been trying it out, it's great so far. I also downloaded VB Express afterwards . I registered VB and got a Product ID which I copied and pasted like the instructions said. I never got a Product ID for VWD Express. I registerd immediately after installing. I either overlooked the Product ID copy and paste when I first registered or it wasn't available. I have since done the Help > Register Product about 5 times. I get an email but haven't been led to the page with the Product ID. What do I have to do to get the Product ID for Visual Web Developer Express Many thanks for yo ...Show All
SQL Server Audit task
Hi, I have to compare the values of two fields which are in different tables and then generate a audit report. How to view the audit report . How to compare values How to compare values Well it depends what you want to do with them. How to view the report How about Reporting Services -Jamie ...Show All
Visual Studio Express Editions HTTP Error 403 - Forbidden
I've been playing around with VWD 2005 Express and when I "View in Browser" with IE, everything works fine. But when I try to "View in Browser" with FireFox, I get a HTTP authentication prompt and then I get the following message: Server Error in '/TestParts' Application. HTTP Error 403 - Forbidden. Version Information: ASP.NET Development Server 8.0.0.0 I've tried entering USER and MACHINE\USER local accounts and still get 403 Forbidden -- any ideas Solution Explorer is one of the windows inside of Visual Web Developer. Normaly it is located in the upper right corner. You can also jump to it by pres ...Show All
Visual Studio Team System TfsReportDS Error
While trying to look at the "Builds" report, I got this error: An error has occurred during report processing. (rsProcessingAborted) Cannot impersonate user for data source 'TfsReportDS'. (rsErrorImpersonatingUser) Logon failed. (rsLogonFailed) Logon failure: the user has not been granted the requested logon type at this computer. (Exception from HRESULT: 0x80070569) Ideas on how to fix Nevermind. I just rebooted the TF Server VM and now it's working. Thanks! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using the Plaform SDK with Visual Studio.Net 2003
I wish to use the "Windows Server 2003 SP1 Platform SDK" with Visual Studio.Net 2003 This is because the DirectShow software has been moved from the DirectX SDK to the Platform SDK (and I wish to use the latest 'august 2005' version of the DirectX SDK and also DirectShow, so I need both SDKs installed) My problem is that having registered the Platform SDK's directories with Visual Studio, a re-compile of my previously working c++ code now generates the following error. c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlsocket.inl(26): error C3861: 'FreeAddrInfo': identifier not found, even with argument-dependent l ...Show All
.NET Development formating xml string with xsl stylesheet not working
Why does the following code throw back an exception and not format my xml file with the xsl stylesheet. StringReader xmlStringReader = new StringReader(sb.ToString()); XPathDocument xPathDocument = new XPathDocument(xmlStringReader); StringReader xslStringReader = new StringReader("po.xsl"); XmlTextReader xslTextReader = new XmlTextReader(xslStringReader); XslCompiledTransform docXsl = new XslCompiledTransform(); docXsl.Load(xslTextReader); It fails at docXsl.Load and throws back the following exception: System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (1,1). ---> System.Xml.XmlException: Data ...Show All
Visual Studio Team System Biztalk?
Can someone tell me how to do a Logical Datacenter Diagram that has Biztalk in the mix We do not have an LDD component representing a BizTalk; however, using the SDM SDK (see http://msdn.microsoft.com/vstudio/teamsystem/architect/sdm/default.aspx ) you can create such a component. (so you'll have to provide the HostingDefinition for WebService and ContainmentDefinition for HttpServer in the model for your BizTalk LDD component) ...Show All
.NET Development Saving a wav file in sqlsever
hi how to store and retrieve wav/mpeg files in a SQL Server table thanks in advance Load Books Online (BOL) and look up 'TEXT', you will want either a text or image type column to store blob (binary large object) data into. There are commands for storing and retrieving BLOB data chunk by chunk. Some things to consider: - The model for working with BLOBs is far from convenient and will cause you to spend additional time you could have instead spent on implementing file transfer code. - Storing blob data to a sql server database will impede performance. - Storage requirements will increase, and you would'nt wan ...Show All
Visual C++ VS2005 porting issue
Hi, I am using VS2005 Beta2 to compile the sources for x64 platform. I am getting following error: >D:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\mapidefs.h(1142) : error C2371: 'BOOKMARK' : redefinition; different basic types 1> D:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\sqltypes.h(283) : see declaration of 'BOOKMARK' I tried to refactor code little bit. But it didnt help. I cannot get rid of any one of the listed header file. Is there any solution for this problem Or is this a bug with platform SDK header files THanks, Sujata. Hi Martin, This workaround wo ...Show All
Visual C# C# 2.0 ConfigurationManager
Hi There I am using the new settings features in .NET and I like the way that settings can be strongly typed, such as: MyExeNamespace.Properties. Settings .Default.FormLocation; It's pretty cool, .NET creates a Settings class underneath the Properties folder and automatically does the property gets and sets for you. But say that I have a solution with multiple executables, and one of them is a class library that I am calling from the executable that contains the settings I am after I can't seem to get a hold of MyExeName.Properties. Settings .Default.FormLocation from the class library, as referencing the ...Show All
Visual Studio Express Editions Problems installing the platform SDK
I am having problems running the windows installer. (in order to extract the SDK) The steps I took were: 1)Download x86. version from web. Using web install. (I have a cable internet connection) 2)Go to the installed file and double click on it. 3)It opens and brings up windows installer. 4)Windows installer never opens. (I left my computer for about 20 min to see if it was opening slow). That is the problem. In the end i had to abort the installation. Any help is appreciated. Nevermind, I figured this out for myself!! I needed to extract all af the files before trying to set ...Show All
Windows Forms how to make a combobox read only?
hi i want to make the combo box readonly what should i do thank u Hi, Next code will make comboBox readOnly. To be more exact it will make textBox of the comboBox readOnly. private bool m_readOnly = false ; private const int EM_SETREADONLY = 0x00CF; internal delegate bool EnumChildWindowsCallBack ( IntPtr hwnd, IntPtr lParam ); [ DllImport ( "user32.dll" , CharSet = CharSet .Auto)] internal static extern IntPtr SendMessage( IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam); [ DllImport ( "user32.dll" ) ] i ...Show All
Visual Studio Express Editions Need Help
hi, i know it might seems silly and even i don't expect answer but anyway since Dec 2005 i starting to learn programming with .net i have learned lots of stuff but every thing i try to learn will be like i open a door for hell, every thing even small controls have tons of properties and methods and lots of stuff you need to learn , i know its natural thing to happend when you start to learn new things, and i know i'll not be able to memorize the .net framework 388000 command(method, property ... etc) 2 months and half now i keep reading like dog and have feeling that the way still too long to walk , but realy i feel i overloading my br ...Show All
