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

Software Development Network >> Perry Loh's Q&A profile

Perry Loh

Member List

Lojikl
Reza Bemanian
tyler000
mrginger
Report Developer
Michael Herman - Parallelspace
Davids Learning
Jive Dadson
-D-
mikalush
PRMARJORAM
RahulMittal
Matthew Power
MrBrilliant
Jon Watte
KJBalaji
ron nash
StephanieR
DavidThi808
mitasid
Only Title

Perry Loh's Q&A profile

  • Windows Live Developer Forums Integration del.icio.us

    when i use "daily blog posting" ,I met the problem,please help me! results: Running at Fri Aug 4 01:18:39 2006 GMT<br>Fetched 1 items.<br>posting error was: 500 Can't locate object method "new" via package "LWP::Protocol::https::Socket" <br> my setting is that: job_name :msn out_name:shileiofchina out_pass: XXXXX( this is my check word) out_url: https://storage.msn.com/storageservices/MetaWeblog.rpc out_time:23 out_url: https://storage.msn.com/ storageservices /MetaWeblog.rpc this url is wrong .the correct is that https://storage.msn.com/ storageservice /MetaWeblog.rpc ...Show All

  • Smart Device Development time function

    Hi, I'm new to C++ and I am writing a project in it that I want to build on both Windows CE and VxWorks, so I am compiling the project in both MS Visual Studio and Wind River Workbench. There are a number of places in the app where I want to get the current date and time (number of seconds since 1/1/1970) but I can't figure out how to make it work! From what I can tell, time(time_t * timer) is the way to go, but while this compiles fine for VxWorks, when I compile it for Windows I get a strange linker error which says that there are unresolved externals in the function that contains the call to time(). Help! (Thanks in advance!) Rachel The preprocessor plays games with time_t and time(). They ge ...Show All

  • Smart Device Development Timer invoke between threads

    Hi, In my previous thread in this forum I asked how to reach objects between different threads. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=638251&SiteID=1 Now I wonder how to run different timers in the same program, since they have no invoke() method. My first timer is polling different objects. On incoming answers I want to start a new timer for execution of the request a certain time. How do I do Pseudocode of how it is now, but does not work, is: timer1.Enabled = true; timer2.Enabled = false; private void timer1_Tick(object sender, EventArgs e) { if 1 poll1() if 2 poll2() } public void serialPort_DataReceived(object sender, SerialDataReceivedEventArgs e) { timer2.Enabled = True; if 1 execute1(); if 2 execute2(); } ...Show All

  • Windows Forms Deploy

    I have now finished my apps. How do I deploy them so I can distribute via disk MItch Check out the following details on ClickOnce http://msdn2.microsoft.com/en-us/library/t71a733d(vs.80).aspx A good webcast showing it being used http://dnrtv.com/default.aspx showID=8 ...Show All

  • Visual Studio Team System Branching bound projects and solutions does not work

    Hello, While testing branching capabilities in TFS, I come to realize that for bound projects and solutions, branching does not work as expected. I hope I am wrong, and if you see any mistake with the following scenario, please tell me. Start of with a solution that has two projects c:\root\solutions\solution.sln c:\root\projects\projectA.csproj c:\root\projects\projectB.csproj Add the root directory to version control in TFS $/TeamProject/Mainline/solutions/solution.sln $/TeamProject/Mainline/projects/projectA.csproj $/TeamProject/Mainline/projects/projectB.csproj Make sure your mapping in the workspace is like so $/TeamProject/Mainline -> c:\root\ Open solution in VS 200 ...Show All

  • Visual FoxPro Emailing newly converted reports.

    Hi; I have converted some older Foxpro reports to VFP9. Everything looks great, but: Before the conversion I could very easily save the report to file and then email it. After the conversion, obviously, I can't do that anymore. I have tried the ASCII option but it is not very good with spacing and columns don't line up etc. What is the best way to solve this issue Do I need to create a pdf/rtf/tif etc or is there a built in VFP feature that can help me Thank you all. Aleniko wrote: Hi; I have converted some older Foxpro reports to VFP9. Everything looks great, but: Before the conversion I could very easily save the report to file and then email it. After the conversi ...Show All

  • Visual C++ Compiler Version of Visual C++ 6.0

    How to get the Compiler Version of Visual C++ 6.0 The compiler version is 12.00.8804. u can get it from the console ie. open command prompt and got the the installed path of VC -> bin and type cl. This is the compiler application. Regards, Sudeesh. ...Show All

  • Smart Device Development Cursor in TextBox

    I want to make the cursor active in the textbox in a form. Hovewer when I clicked to a button the cursor disappers. I sometimes use the button to add or delete characters.How can I always make the cursor stable in the text box Asiye wrote: I tried this. Hovewer, it selects all the text in the text box. I only want to make cursor active not select. Thank you Focus() and SelectionLength = 0 ...Show All

  • Windows Forms ClickOnce Application cannot be Started, help!!

    Hello everyone, I'm trying to Deploy the application and im getting this error now: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : file://pc1/Shared/Program A/MyProgram.application ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of \\pc1\Shared\Program A\MyProgram.application resulted in exception. Following failure messages were detected: + Access is denied. (Exception from HRESULT: 0x80070005 (E ...Show All

  • SQL Server Prolonged execution for table UPDATE statement - not sure it finishes

    I am cleaning up a large database table that has Date keys instead of real DateTimes. To do this, I am running the following query... UPDATE MQIC.DBO.OBSERVATION_F SET MQIC.DBO.OBSERVATION_F.OBS_DATE = MQIC.DBO.DATE_D.ACTUAL_DATE FROM MQIC.DBO.OBSERVATION_F INNER JOIN MQIC.DBO.DATE_D ON MQIC.DBO.OBSERVATION_F.DATE_KEY = MQIC.DBO.DATE_D.DATE_KEY where Actual_Date is what is being stored, and the Date_Key is to be dropped. The particulars are this - Date_D table - 92,000 rows - 40 MB Observation_F - 20,000,000 rows - 3.2 GB This is being run on a remotedly hosted rack server with an AMD processor, 1 GB RAM, 60 GB harddisk space, 20 GB used. SQL-Server 2005 Express - SP1 If I do the same query as a SELECT statement... UPDATE MQI ...Show All

  • Visual Basic Creating in VB.Net an application with a shortcut that includes input parameters

    Hi everyone, I've been trying to find some information a code samples to develop an application that can read from a shortcut the specified parameters but no luck at all. For example, I want to have shortcut with a parameter for station number. When I click on it, the station number specified lets say 100.0 its used as an input parameter to do some validations with it. So in my code, I can process the station i.e. sub process(station) msgbox("The station is:" & station") end sub Thanks everyone for your help JP Hi Josue, if you want to get the settings from a shortcut, e.g. Target, Start in etc, then I tried to do this a few years ago VB and couldn't find any way of doing it ...Show All

  • .NET Development ADO Code not updating issue -- Help!!!

    Hello, This is my first post -- I can not seem to write back my changes to the database.... if anyone sees anything out wack, please let me know. ' Not sure about the table mapping statment - or AcceptChanges() vers :: GetChanges(DataRowState.Modified) thx. Dave Gilden MCSD -- FT. Worth Tx ' this part of a ASP .Net 1.1 web app Private Sub btnUpdate_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click Dim SelectedServiceOrder As String ' assign service order SO Type number from selected value posted back from the drop down menu SelectedServiceOrder = Request("ddlSOTypeDesc") Dim AllowedServices As New ArrayList(7) Dim rowC ...Show All

  • SQL Server Slow Cube Performance in Excel

    Hi all, I have an Analysis Services 2005 cube that I am linking to in Excel 2003 via a pivot table. The cube is based on a single fact table with around 6 million rows and 7 measures. I have 5 dimensions, none of which have more than around 200 rows. I have set up aggregation and am using MOLAP. My problem is that querying the cube in Excel takes around one minute, whilst performing the same query in the cube browser in BI studio is instant. I have captured the MDX for each of these in Profiler. The scripts are below. BI Studio SELECT NON EMPTY [{59956A97-57AB-4CAF-8A5B-E7753FDA221C}Pivot16Axis0Set0] DIMENSION PROPERTIES MEMBER_NAME, PARENT_UNIQUE_NAME ON COLUMNS, NON EMPTY [{59956A97-57AB-4CAF-8A5B-E7753FDA221C}Pivot16Axis ...Show All

  • Visual C++ How to open solution via project

    Hi I have a little problem. I create VS solution and then add to it already existing VC project. Then I close VS , and when I open project file (via double click) it's created a new solution file for that project, i. e. it doesn't open solution in which it added.But when I add new project to solution everything is ok. So I want to understand how project file "find" its solution. Thanks Once the solution is created, a file with an extension .SLN will have been created on your hard drive somewhere, usually in the same folder as the project file (.VCPROJ), or at least close to it. So, use the Start-Search for files and folders, find the .SLN file and open that.  From now on, d ...Show All

  • Smart Device Development GPRS does not autoconnect to its server, C# CF

    Hi, I am writing a C# application for pocket PC which connect to GPRS. I use the following code: HttpWebRequest wr1 = (HttpWebRequest)WebRequest.Create(URL); HttpWebResponse ws1 = (HttpWebResponse)wr1.GetResponse(); and XmlDocument xDoc = new XmlDocument(); xDoc.load(xmlURL); Both of the above codes work well with no problem as long as GPRS is connected before these codes run (i connect GPRS manually before running the code). However, when the GPRS is not connected, i always get a GPRS connection error when the application tried to initiate the GPRS connection. The GPRS somehow cannot connect to the server. Can you let me know what can possibly go wrong when the above code is executed If something is wrong, what needs to be added so that ...Show All

©2008 Software Development Network