HedleySohn's Q&A profile
Smart Device Development Deployment and/or registration failed with error: 0x8973190e
I developed a simple ATL Simple Object COM server DLL. When I deploy it to my emulator I see the following error: Deployment and/or registration failed with error: 0x8973190e. Error writing file '%CSIDL_PROGRAM_FILES%\DSA3K\UtilCore.dll'. Error 0x8007007e: The specified module could not be found. The DLL and all of it's dependencies are downloaded. I found a version of regsvr in PlatformBuilder and I built it for debug. When I run it to register my DLL I find that it errors when calling DllInstall because this entry point does not exist. So I added this entry point. Now regsvr succeeds but VS2005 still produces the above e ...Show All
.NET Development connections over internet
i have been trying to implement a server and a client little program that will be connecting with each other over the internet. i written the server application to open a port on my computer and listen for tcp connections with tcplistener. the client i used tcp client and gave it to a friend over the net to try and connect to the server on my computer. i gave him my IP address, he putted that in, and the port as well, and tried to connect, but it the tcpclient crashed. it said something along the line the server host refused, something along that line. and that it is not finding the server. im on a switch, and as so as my friend. is the ...Show All
Visual Studio 2008 (Pre-release) How to use XAML as window icon?
When I try to assign a DrawingImage to Window.Icon, I get the exception InvalidOperationException: ImageSource for Icon property must be an icon file. Does WPF only support bitmaps as window icons Then why is Window.Icon of type ImageSource ImageSource is the type behind <Image Source="... Anything you can specify there (i.e. not limited to bitmaps), you should be able to specify as Window.Icon. Afaik, in the current version, you cannot specify XAML files though. ...Show All
Windows Search Technologies Search string?
I get a little problem: all projects on our server are named YY-XXX (06-422, for example). When I search on 06-422, I can' find nothing but unrelated documents. I presume it has something to do with the '-' sign. looks like it plays it '06 but NOT 422'. Searching for "06-422" doesn't help neither. Is there a workaround TIA Hugues Hello Hugues, This one is interesting. Your line of reasoning makes perfect sense (the - acting as the 'NOT' operator). Strangely, I've been unable to replicate this problem on any of my test machines. I've been able to find files named 06-442, tr ...Show All
SQL Server Strange issue with Precedence Constraints and Set Values
Hey everyone, I have used the set values option of the execute package utility many times to change values on variables in the package with no problem before, however have run into a stumbling block when coupling this with precedence constraints. I have a package that goes down a different path based on a precedence constraint that works perfectly if the default value of a variable is used....however when I pass in a new value via Set Values in the execute package utility the package will error out with this: The expression "@[User::IVR_FLAG] == 1" must evaluate to True or False. Change the expression to evaluate to a Boolean value ...Show All
Visual Studio 2008 (Pre-release) DLINQ + Intellisense
Hi, I have installed the DLINQ May CTP but I can't see Intellisense support, I'm running VS 2005 Team Suite. Thanks We have limited IntelliSense support in the May CTP which is installed by default. I am assuming that you did not turn it off during or after installation. Are you using VB or C# Do you see coloring of keywords in query expressions Thanks. Dinesh ...Show All
SQL Server How do I edit an Imported DTS package in SSIS???
I have used the wizard to import a DTS package from a SQL 2000 server to our new SQL 2005 server and need to make edits to reference the new server and database. I am able to see the package within the SQL Management studio under Integration Services, but I cannot find it in the Development studio What am I missing Thanks The development studio is an offline tool that works on file packages only. Export the package from SQL Server / IS and add it to a project in BIDS. ...Show All
Visual Basic help a noobie out? file.exists question
Hi all! I'm using visual studio 2003 - specifically, visual basic.net and I can't seem to get file.exists(filename) to return true when I search using wildcards, and I know there's a file in that dir with that extension. here's the code. dim bYesNo as boolean FileName = "D:\Documents and Settings\Lou\My Documents\Visual Studio Projects\Lucky7\Lucky7\bin\*.txt" bYesNo=file.exists(filename) file.exists keeps returning false when there is a readme.txt file in that dir. It works if I explicitly name that file but not with the wildcard. so...what am I doing wrong Thanks for helping this noobie. Lou Tha ...Show All
SQL Server SQL Server Connectivity Problem
Hi there, I am facing sql server connection problem. can any one help Problem Details: I had install sql server in my local computer and i want to use the tables that i had create in my VBA. I tried to build many connection string but the error "[DBNETLIB][ConnectionOpen(Connect()).] SQL Server does not exist or access denied" always appear. how can i solve this problem can anyone help Could you please provide more detail about the connection string you build. According to the error message, looks like something is incorrect with your connection string. Thanks Bei ...Show All
Visual Studio Express Editions Problem executing general C++ code samples
Hi, I've installed Visual C++ Express Edition and PSDK and I'm able to build and execute simple Windows Forms Applications. But when I try to build the sample codes I've found at "http://msdn2.microsoft.com/en-us/library/ms236269.aspx" I always have the same problem, e.g. when I open the CPUID.sln from the CPUID sample program and try to choose "Properties" from the menu, I only get the error message "The operation could not be completed". When I try to build this sample following message appears: "Build: 0 succeeded or up-to-date, 0 failed, 1 skipped". Rebuilding and Debugging is also not possible. This happens with all the sample codes I'v ...Show All
Visual Basic i need help with querring
hello , i'v just start using VB2005 and my first try is a dissaster, i have a form the contain a combobox to customers table (msaccess) i add a datagrid to get the orders belong to the combobox customer but it look impossible i can get all orders but i tried last 4 days but don't work . i know what i'm asking is not complicated siolution but the VB2005 wizard don't help any help will be thanked. avner Hi, it should be there is no disaster. all you need is to check the WHERE clause in your query using the debugger, if the value of the comboBox is attached to the query or ...Show All
Smart Device Development How to share sourcecode between winformcomponents and compactframework components
How do i share sourcecode between the design of winform components and compactframework components i design. I design custom controls for both winforms and compact framework applications eg. a serialport and picturebox decendant. The components i design are really simple descendants of components available in both 'frameworks' . Now I put the controls sourcecode in separate libraries (winform / cf.net libraries = duplicate code for the same component with no or minor adjustance) because it is not possible to reference winform libraries by a compact framework... or is it Thanks in advance, Sander van de Velde ...Show All
SQL Server Value method of xml data type not deterministic, xml column not accessible in 'deleted' table
I am presently taking my first, tremling and insecure steps in Sql Server as a whole - specifically Sql Server 2005. I am involved in a proposal for a huge data convserion project (banking) here in Denmark and presently trying to present small mockups to illustrate the potential of XML in general and specifically promote Sql Server 2005. I have studied tons of documents on msdn including 'XML best practices ...' and found them very helpful. Stumbling along I have come to a complete stop ion the following 2 issues: -------------------------- Issue 1. I the mockup I am doing now, I have cloned the scenario for promoting an xml property to a co ...Show All
Visual Studio Express Editions Problem with reading (*.doc, *.rtf and *.txt) Files
Hello, I have a problem with reading files the problem is : I`m using IO history to read *.txt files in textbox but it cannot read some languages like Arabic I`m using this code to read StreamReader files = new StreamReader (openFileDialog1.FileName); tmpbox.Text = files.ReadToEnd(); files.Close(); it reads all files correctly but not Arabic files ================================= Second part with RichTextBox: I`m reading files with this code RTBox1.LoadFile(openFileDialog1.FileName); this will read only the files that I`m creating by RTBox1.SaveFile(openFileDialog1.FileName); or that *.doc files ...Show All
SQL Server Reporting Services tutorial
Hi, I am trying to step thru the June SQL 2005 CTP Book on Line Tutorial on Reporting Services (ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/sqltut9/html/95c9c883-12e5-47af-8da1-b77c6ef7484c.htm) However the steps don't seem to match what is in the GUI. Is there an updated version of this tutorial Thanks in advance. Ned Never mind, I selected REPORT MODEL instead of REPORT PROJECT. Thanks, Ned ...Show All
