Sylvain Trépanier's Q&A profile
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
Microsoft ISV Community Center Forums BSM with SSRS(2005) on a different box
Could anybody help provide some information about installing BSM with SSRS 2005 My installation needs to have SSRS running on a different box than the BSM server. There are 2 issues involved here: The BSM Server.msi by default looks for Reporting Services 2000. But I need to have the complete installation based on SQL2005. Do i have to install RS2000 and then manually configure it to use SSRS2005 In addition to this, I would prefer to have the Report Server on a different machine. How do you convey this alte ...Show All
SQL Server Error locating server/instance specified
I am trying to connect to the AdventureWorks database while using Visual Basic 2005 Express. I am currently using the SQL Server 2005 trial version. Here is the error message: An error has occurred while establishing a connection to the server. When connecting to SQL server 2005 this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, Error: 26 - Error locating server/instance specified) I found some threads in the archives when I researched this problem but couldn't relate the answers directly to my situation. Prior to i ...Show All
Visual Studio Express Editions how to import Bookmarks favorites file to treeview
hi i'm export my favorites links from internet explorer as html file now i want to import this ( html ) file to tree view on my form i can read form this file and get folder name and URL but i cann't make it as tree it's now in on level only i want to read from this file and make tree view in many level can you help me if you want to explanation pls tell me i'm also search for this code but i have an wxample it's show folder and url in bookmarks , but it's show in one level can any one help me to show in multi levle as tree this is my example http://www.segaaal.com/Read_Bookmark.zip ...Show All
SQL Server SQL92 syntax - Why is SQL2005 different
This arose from trying to solve an item in Experts Exchange http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_21627719.html See the item: SELECT X.* FROM ( SELECT A.*,B.Col1 B_Col1, B.Col2 B_Col2 FROM A,B WHERE A.col1 *= B.col1 ) X ---> Correct SELECT X.* FROM ( SELECT A.*,B.Col1 B_Col1, B.Col2 B_Col2 FROM A,B WHERE A.col1 *= B.col1 ) X WHERE X.B_col1 IS NULL ---> Broken (Returns 2 rows) ... My question(s) are: Why are the results different between SQL 2000 and SQL 2005 Which one is correct (This is only hypothetical - I wouldn't use SQL92 syntax in a new project) Thank ...Show All
SQL Server IE Scripts and Printing Error
hi i am using the RSS 2000 version with the service pack 2. it all works fine in my development machine and other test machines in the office but when i take it out into the real world and try to print IE says it cant run some scripts. i have checked the ie security settings and tried enabling all scripts and still the report viewer insists it cant run some scripts and gives me an error. does any one know where i can change settings to enable my reports to print the computers i am working on are under a domain with its own security settings i know nothing about but if there is anything i can change on the client machine's IE configuration to ...Show All
Smart Device Development VS 2005 and Smart Device installation problem
I have a weird problem with my VS 2005 and Smart Device SDK installation. I'm using the DVDs from the Windows Mobile 5.0 Developer Evaluation Kit given away at the recent MEDC. I want to successfully install the Pocket PC and Smartphone SDKs and compare the IDE etc with that of evC 4.0. I appear to have successfully installed VS2005 however the Smart device SDKs do not appear to installed correctly at all even though I did install them. There seems to be numerous problems with the setup all of which seem to lead to an error associated with finding a user datastore. If for example I select 'Tools -> Connect to device' I see a message box ...Show All
.NET Development Xml Serialization breaks OO encapsulation?
Only public fields / properties are xml-serializable, as I tested and searched on web. What happens if I have a class containing read-only properties, or internal states (private fields) that are not public Do I have to compromise the encapsulation concept in order to get it serialized Blair Allen Stark wrote: XML is just a simple data interchange for passing the public data an object presents back and forth. Almost by definition it needs to be read/write. And XML makes no specification as to how the consumers are to contain the data. Yes, we typically write our own suppliers and consumers for both sides, but that is really j ...Show All
Visual C++ error C2159
I had an error with the following code but I'm not sure what it wants me to do so if somebody could please help me with this error it would be appreciated. Error C2159. [DllImport( "winmm.dll" )] static extern Int32 mciSendString(String^ command, StringBuilder buffer, Int32 bufferSize, IntPtr hwndCallback); and the error message was: ------ Build started: Project: Timer Test, Configuration: Debug Win32 ------ Compiling... Timer Test.cpp c:\documents and settings\...\desktop\timer test\timer test\Form1.h(27) : error C2159: more than one storage class specified Build log was saved at "file://c: ...Show All
Visual Studio Installation Problem .net 2003
HI all, I tried to install .net 2003 in my laptop which is loaded with XP HomeEdition and with SP2. When i insert my first ( Prerequisites) cd its not installing its asking for the prerequisites cd again showing the browse window. i dont have iis in my laptop it doesnt appear in the windows components list. but previously .net 2003 is installed in the same system with the same cd but i dont know why its not installing. pls help me to come out of this Thanks a lot prabhu. Whoops - I think it is not July - tha'ts the most recently Library - I'm thinking about the May 2005 Pre-requisites. Direct th ...Show All
Visual Studio Express Editions Problem with searching XmlDocument
Hallo! I have a XmlDocument "neuesXMLdok". With the following command I select one single Node: XmlNode nodeOWN = neuesXMLdok.SelectSingleNode("/GAEB/Award/OWN"); This results in the following XML: <OWN> <Address> <Name1>XY</Name1> <Name2>ZZ</Name2> </Address> </OWN> Now, I want to select node "Name1" and put the value into a variable. So, I did the following: XmlNode navName1 = nodeOWN.SelectSingleNode("/OWN/Address/Name1"); prj_Bauherr = navName1.Value; But the node "navName1" is always NULL. I jsut don't understand why. Could anybody he ...Show All
Smart Device Development Coding Error
Hi all, I've got some errors I need your guys help. The error of: Value of type 'Integer' cannot be converted to 'System.UInt32'. occurs within this function. (In red) Private Shared Function AllocHGlobal( ByVal cb As IntPtr) As IntPtr Dim hmem_Renamed As IntPtr hmem_Renamed = LocalAlloc( &H40 , System.Convert.ToUInt32(cb)) Return hmem_Renamed End Function Another error is: Project-level conditional compilation constant 'DEBUG,TRACE : CONFIG="Debug|Pocket PC" : DEBUG=1 : TRACE=1 ' is not valid: '=' expected. Can anyone help hmem_Ren ...Show All
Windows Forms object does not support this property or method
I'm doing an ASP.NET site which uses a function from a dll that I did. When I execute the code from the local web server (localhost) it get no problems. However, when I try and execute it on a different server I get an "object does not support this property or method" error. My localhost web server is IIS 5.1, the remote server&nbs ...Show All
Visual Studio Double Click on Compartment Item
At Product Feedback Center, they say the problem is solved http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx feedbackId=FDBK43757 but I have tried to override OnFieldClick/OnSubFieldDoubleClick in the Compartment public partial class MyCompartmentShape { public override void OnFieldDoubleClick( ShapeField shapeField, DiagramPointEventArgs pointArgs){} public override void OnSubFieldDoubleClick( ShapeField shapeField, ShapeSubField shapeSubField, DiagramPointEventArgs pointArgs){} public override void OnSubFieldDoubleClick( ShapeField shapeField, ShapeSubField shapeSubField, DiagramPointEventArgs pointArg ...Show All
.NET Development Getting data from a website
Hi, I'm looking for an application thats capable of stripping data from websites (Real Estate) with a structure. I also want that data stored in a database. I have seen one in Holland that's scanning the structured Real Estate websites. Does anybody knows where to find an apllication like this With regards, Bram Swaneveld You'd be lucky if WebSite you are accessing is capable to return you data in the XML form. In this case parsing is simple. This is exactly the scenario for what XML was introduced at the beginning. If output is always HTML you’ll have much harder time and results will be less stable ...Show All
