Software Development Network Logo
  • SharePoint Products
  • Visual FoxPro
  • IE Development
  • SQL Server
  • Audio and Video
  • Microsoft ISV
  • Visual Basic
  • Smart Devicet
  • Game Technologies
  • Visual C++
  • Visual C#
  • Windows Vista
  • .NET Development
  • Visual Studio
  • Windows Forms

Software Development Network >> Andy Ho's Q&A profile

Andy Ho

Member List

WalangAlam
peterng
cippyboy
tanya_cakes
Haff
sourav.dhar
Rame
Justin Patterson
xr280xr
WalangAlam
Shahzad Yousuf
donkaiser
SparkyW
Stéphane Beauchemin
CaneBaller
TACIR
maryz
Ntc
databaseDave
beermix
Only Title

Andy Ho's Q&A profile

  • Smart Device Development IP-address of ActiveSync computer

    How can I get an IP-address of the PC which is connected to my device by the way of ActiveSync Hi, i belive you can't know this from the device directly, but you should know that if you are connected to the PC with active sync, then you will have the same IP of the PC. But i think that you can get the IP programmatically... Regards, Ahmed H. Waly ...Show All

  • Windows Search Technologies How to search WDS on Vista using APIs in C++

    How do you programmatically search WDS on Vista using the APIs in C++ On WDS 2.x the procedure was:- 1. Create CLSID_SearchDesktop object 2. Get the IID_ISearchDesktop interface 3. Call ExecuteQuery on that interface with the query 4. Enumerate the recordset returned to get the results This works perfectly on WDS 2.x and also works on WDS 3.0 beta on XP. However on Vista it fails at the first step with the error class not registered. I was under the impression that the search in Vista was WDS 3.0, so why is the code not working when it works OK with WDS 3.0 under XP If there is another way to query under Vista what is it Can you provide an example Thanks Nick FYI String ...Show All

  • Visual Basic Deploying an Addin in another computer

    Hi I created a Addin for CAD Tool called (solid works) in Vb2005 with .NET framework 2.0 Addin works fine when it runs in my computer. The addin is itself a dll file. When i copy the bin folder to another computer and add the addin to the CAD tool it raises the error with the message "one or more components missing". I have referred several libraries, some of them are COM libraries and some of them are .NET. It seems that there are few dependant dlls missing in the other computer. How do I deploy complete references with dependant dlls attached to them in another computer. Thanks in Advance Prash If you are referencing com libraries then xcopy deployment will not work withou ...Show All

  • Windows Forms make installation files

    How i can make installation files with database files. So when i want install my program to my friends i have one installation files exe and in it database files who needs my program for work ...Show All

  • Visual C++ Optimization problems with Visual C++ 2005

    Hi, I have a huge problem with Visual C++ 2005. We recently moved from Visual C++ 6 to Visual C++ 2005 and since then we have had a number of performance issues. In one case, it is really extreme since the code generated is about 10 times slower than Visual C++ 6!! The code I am looking at right now is something like this: struct record { real a,b,c,d; } real a,b,c,d; for (int i=0;i<size;i++) {    record& elem = array ;    a += elem.a;    b+= elem.b;    c+= elem.c;    d+= elem.d; } I have tried to rewrite the code in different ways (using arrays instead of classes or variables on the stack and so on) but whatever I do i never get decent performance. Did anyb ...Show All

  • Smart Device Development tabpage events

    Hello, I want to know if there's an equivalent event in CF for event Enter for tabpages. Basically i want to fire an event whenever the user chooses a tabpage. Thank you The selectedindexchanged only works when we are selecting tabs during runtime. my prob is that i want to know which tab i'm in when the program first started. any suggestion ...Show All

  • SQL Server Programmatically Data Conversion component creation

    Hi there, I have created a package which simply imports data from a flat file to a SQL Server table. But I need to incorporate a data conversion component by which I may change the source-destination column mapping programmatically. So what I thought that I need to add a data conversion component into the dataflow task. After adding this component (I found its component id as {C3BF62C8-7C5C-4F85-83C3-E0B6F6BE267C} ) I have created a path which establishes the mapping between output columns of source component and the input columns of data conversion component. Now I am not sure how to establish the mapping between the data conversion component’s input column collection and output column collection. I am giving my code snippet her ...Show All

  • Windows Search Technologies how to use the Foxit PDF Ifilter??? no preview

    I have downloaded the Foxitsoftware Ifilter for PDF viewing.. I have installed it, but I cannot get preview to work :( Anyone get any solutions (i have used thed .PDF; in the preview option ) to use Foxit (i need some of the features of Foxit Reader Pro - so I was verymuch hoping the Ifilter would do the trick) I have the same issue (at least Foxit ifilter works with WDS 3, which is more than you can say for Adobe's ifilter). Would love an answer. ...Show All

  • SQL Server OPENROWSET Excel import failing on production machine

    Hi all. I have some sql like SELECT * FROM OPENROWSET('MSDASQL', 'Driver=Microsoft Excel Driver (*.xls);DBQ=C:\aaa.xls;', 'SELECT * FROM [Sheet1$]') Which works perfectly on our development machines (Windows 2003, SQL Server 2005 SP1). When I take it across to our production machines at the client (Windows 2003, SQL Server 2005 SP1) SQL kicks out the following error: Cannot initialise datasource object of OLEDB provider. Microsft.Jet.Oledb.4.0 for linked server (null). Extra Info I have tried many different syntax variations of OPENROWSET to attempt to get the excel sheet to import. None of which work. Some included below: SELECT * FROM OPENROWSET (''Microsoft.Jet.OleDB.4.0'', ''Excel 8.0;HDR=YES;IMEX=1;Data ...Show All

  • Software Development for Windows Vista Biztalk error - messaging Engine failed to register ...

    Hi. I'm currently trying to start a Biztalk orchistation by calling a WebService as the starting point for the job. The orchistration is built and deployed succesfully, and all logical ports are connected to the acutal ports in the Biztal administration console. I've checked that the location of the ports are correct and exists. Each time we try to call the webservice to call, the eventlog produses this error message: The Messaging Engine failed to register the adapter for "SOAP" for the receive location "/startmovexwebservice/StartMovexWebService.asmx". Please verify that the receive location exists, and that the isolated adapter runs under an account that has access to the BizTalk databases. Does anyon ...Show All

  • Visual Studio Express Editions Basic Tutorial

    Hello, Please would someone give me a basic tutorial on visual basic expres edition 2005 many of you would have a go at me due to this post but the microsoft one doesn't really help, Thanks Jamie Neve If you need some help, you must indicate what exactly you wont to do. And you have some help on Start Page in your VBExpress 2005, in "Getting Strated" Box. ...Show All

  • SharePoint Products and Technologies sometimes i can break through code in vs2005 to debug a site

    I build my debug version, install it in GAC, then I reset iisreset .When i place a breakpoint I get the message: breakpoint will not currently be hit. no symbols have been loaded for this document Have u had this before. MKeeper, thanks for your input. It makes sense, but it doesn't clear it up ... at least not yet. Maybe I'm doing something wrong, but like the original author, even when it's not a site provisioning assembly, the breakpoints don't work unless I do as I explained. Then they do. In other words, if I install the debug version of an assembly with breakpoints into the GAC without doing anything else, the breakpoints don't work, even after all relevant assemblies have been loaded AND run. The assemblies in question ...Show All

  • Visual C# C# Programming-> Constructor & Destructor

    Question:-why constructor is called from top to bottom in inheritance chain and destructor is called from bottom to top   Hi TaylorMichaell C# does have desturctor but it implicitly calls finalize on the base classes,. refer the below mentioned link. http://msdn2.microsoft.com/en-us/library/66x5fx1b(VS.80).aspx ...Show All

  • Visual C# Beginner question about method overloading!

    Can someone please explain to me what a method overload actually is and maybe possibly give me a code example in C# for me to see I am looking to land an entry level dev job and need to know this question! Thank you! An method overload is a method that has the same name as another but a different signature. For example: public static Decimal ToCurrency(Int32 value) {//...} public static Decimal ToCurrency(Int64 value) {//...} ...Show All

  • Visual Studio Express Editions Null reference exceptions

    Hi People, I've been programming for a few years now and am still plagued with Null reference exceptions cropping up. I've nearly always managed to get round them by playing about with my code but never properly understanding HOW I've fixed it and why it works but didn't earlier... Can someone please explain in noob words why the following code returns a null reference exception :- Dim g As Graphics Dim text As String Dim font As New Font("Arial", 6, FontStyle.Bold, GraphicsUnit.Pixel) Dim returnValue As SizeF text = "abcdefg" returnValue = g.MeasureString(text, font) Many thanks in advance ...Show All

©2008 Software Development Network