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

Software Development Network >> Yuhang's Q&A profile

Yuhang

Member List

shido
Jade Skaggs
Cam70
ant42
AdamB78
Sprite64
England1000
suneelkumar
wazimu
imranabdulaziz
jtaylor42
StevePO
gauls
kedst1
shmulik_segal
Amnu cherian
dafan21
kiran1234
PCSQL66
Can-Ann
Only Title

Yuhang's Q&A profile

  • Smart Device Development How VS 2005 connect to smart device through wireless connection

    I want to deploy an application to a smart device running Pocket PC 2003 through wireless connection. Is there any utilities in Visual Studio .NET 2005 p.s. I use the "Windows CE Utilities for Visual Studio .NET 2003" to connect the devices when I using VS 2003 before. Hi Gary, I think you don't need any utilities, not now, or before. you just need to set the ActiveSync to make synchronization through the Wi-Fi and once you set it on the PC and Device, you can deploy the application normally as if it is connected with USB cable. Regards, If this post was helpfull, please press "Yes". Ahmed H. Waly ...Show All

  • Visual C# Getting Between The GridView

    I've been racking my brain and my VS trying to figure out how I was gonna do this. Maybe someone has an Idea that I just haven't figured out yet... I have a gridview that is populated in the code behind with several columns worth of data from my trusty database . I'm running VS2005, .NET 2.0... The data, or the columns aren't important. My issue is in Popping an area between rows when you hit a button to view that row's "Details". The details section will essentially hit the DB again and fill a section under the selected row and above the next row with the data. In other words, I'm looking to get between two gridview rows and pop some data in there based on the selected row. My two best solutions so far: 1) P ...Show All

  • Visual Studio 2008 (Pre-release) Creating a WCF Client

    Hello, I'm new in .NET programming and I want create a client which consumes a Web Service. I have created a proxy code from a WSDL file with the svcutil tool. The proxy code was generated with the xmlSerializer switch because the WSDL includes complex xsd elements. Now I have a C# code and a config file. How can I import this files into a project to consume the Web Service and which project i have to use Best Regards, Boris ...Show All

  • Windows Forms Invoke

    Hi, I was wondering if the following syntax is correct for a call to Control.Invoke: private void Form1_MyEventHandler(object sender, EventArgs e) { if (InvokeRequired) Invoke(new EventHandler(Form1_MyEventHandler), new object[] {sender, e}); else { // TODO throw new Exception("not implemented"); } } Is it not to late to call Form1.Invoke, assuming the call to Form1.Form1_MyEventHandler is done by another thread than the one that instanciated the Form1 object If not the case, is Invoke necessary even if Form1_MyEventHandler doesn't access any members of Form1 Also, is the recursive syntax ok Thanks in advance :) What you are doing is correct to ensure you don't get cross-thread acces ...Show All

  • .NET Development ADO.Net open Excel 2.1 file

    I'm using ADO.Net in Visual Studio 2005 to build a Visual Basic.Net Windows application. The application need to import an Excel 2.1 file, which is generated by FoxPro 2.6 DOS version from my client. Unfortunately, I can't read the Excel 2.1 file directly from my OleDB. Since I can do it successful when I open the Excel 2.1 file using Excel 2003 and save it again. Then using the ConnectionString "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & FileName & ";Persist Security Info=False;Extended Properties=Excel 8.0;"... But the client cannot accept this manual step. Does anyone know how to read the Excel 2.1 file to ADO.Net or any alternative method to achieve the requirement I don't believe that data acce ...Show All

  • SQL Server Poor performance with functions in selects

    Hi We have the following query that we were trying to execute and it performs very poorly... SELECT ITEM_ID , PART_NO , PART_TITLE , dbo . SFDB_NVL_VARCHAR ( DRAWING_NO_DISP , 'N/A' ) AS DRAWING_NO , dbo . SFDB_NVL_VARCHAR ( DRAWING_CHG_DISP , 'N/A' ) AS DRAWING_CHG , DRAWING_NO_DISP , DRAWING_CHG_DISP , REV_SOURCE , ITEM_ID AS ASSY_ITEM_ID , dbo . SFDB_NVL_VARCHAR ( DRAWING_NO_DISP , 'N/A' ) AS ASSY_DRAWING_NO , SFMFG . SFDB_NVL_VARCHAR ( DRAWING_CHG_DISP , 'N/A' ) AS ASSY_DRAWING_CHG FROM SFSQA_CHAD_PART_DSPTCH_DSP_SEL ORDER BY PART_NO The function SFDB_NVL_VARCHAR is nothing but a replication of nvl function of oracle. CREATE FUNCTION [dbo] . [SFDB_N ...Show All

  • Visual Basic Saving files as .exe

    How do you save files as .exe's I tried to publish my program, but it won't let me in that it said "Default certificate could not be created. Publish aborting." Any Ideas The ClickOnce publishing system does a lot more than create an EXE. If you just want the exe and none of the installation stuff around it, then go to your My Documents\Visual Studio 2005\Projects\ projectname \ assemblyroot \bin\release\ folder There is an exe version in there. Or My Documents\Visual Studio 2005\Projects\ projectname \ assemblyroot \bin\debug\ Or if you don't use the default, then the bin folder of wherever you're saving your project. ...Show All

  • SQL Server What to exclude for virus scan for analysis services 2005

    For 2000 I found this document: http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/anservog.mspx Which said: Important You should disable the Indexing Service to avoid locking problems and possible corruption during processing. You should also configure any anti-virus software on the machine so it does not scan the Analysis Services Data folder or the Temporary file folder. But I can't find anything on 2005... I usually exclude Data directory (you can see it in the server properties in SSMS - normally it is %Program Files%\Microsoft SQL Server\MSSQL.2\OLAP\Data). If you explicitly set Temp directory - you will need to exclude it too, but if not - than Data directory is enough. If you explicitly spe ...Show All

  • Visual C++ How to append two TCHAR[]s?

    Suppose I have: TCHAR buffer1[64]; TCHAR buffer2[64]; TCHAR buffer3[128]; I want to basically do something like: sprintf(buffer3, "%s%s\n", buffer1, buffer2); There doesn't seem to be a sprintf() that can handle TCHARs. Can somebody clue me in on how to append two TCHAR[]s Thank you. try using _stprintf for more generic handling (a TCHAR is a char in non-Unicode builds and a wchar_t in Unicode builds) e.g. _stprintf(buffer3, _T("%s%s\n"), buffer1, buffer2); ...Show All

  • Microsoft ISV Community Center Forums Validation with List drop down?

    Hi I want to add some simple validation to my Excel sheet but can not for the life of me remember how to do it! Basically i have a drop down list as in the image below and want so that when 'No' is selected, the user is forced to enter the reason in the next cell http://i102.photobucket.com/albums/m82/sc0ttb_2006/excel_list.jpg I can remember doing this before and used some VBA code but can not remember how i did it :( Please put me out of my misery! Thanks... Hi, Thanks so much for the info. I've had a look at it but to be honest i haven't a clue where to start! I'll have another look after Xmas and see if i can get it working... Thanks again ...Show All

  • Visual Studio Express Editions MFC42D.LIB

    Is the library of MFC42D.LIB in C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib I tried the source code using visual studio express and there are errors such as LNK1104 Cannot open file MFC42d.lib I searched the library of MFC42d.lib, there are only two versions in the directories of C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib\AMD64\atlmfc and C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib\IA64\mfc. Also it seems I cannot find the file of afxstr.h Can anyone provide any comments Thanks You'll have to purchase the older version of Visual C++ to get the older version of the debug MFC libraries. You shouldn't be compiling to older versions with a n ...Show All

  • Visual C# How can I load an object?

    I am trying to make a notepad type application in C# for a test project. I have the menu toolbar done, and now I need to make it so that when, for example, the 'page setup' item is clicked, the page setup control is opened up. I need this for all of the items, such as open, save as..., etc. Can anyone help me please Thanks. Vampire ...Show All

  • .NET Development Get affected schema information based on query

    I am currently developing a component which allows users to write ad hoc SELECT queries against a JD Edwards Oracle database. Given some SQL command text, is there any way I can infer which tables are affected by the query (short of parsing the command string itself ). Ideally I would want a situation whereby if a user creates a query string such as: SELECT DD7334.F9210.FROWTP, DD7334.F9210.FRDTAS, DD7334.F9203.FRLNGP FROM DD7334.F9210 INNER JOIN DD7334.F9203 ON DD7334.F9210.FRDTAI = DD7334.F9203.FRDTAI would there be any way to infer (say by executing the query) that the tables F9210 and F9203 were affected at the datasource I need to know which tables are affected because the target system uses a data dictionary that I ...Show All

  • Visual Studio Express Editions Registartion Email Confirmation Never Received

    I'd like to register but did not receive the email and I verified the email address was correct. What do I do Hi EvangelineUONews, Microsofts answer is "Try Again by clicking on the Register Product link that is shown in the Product Activation Screen" I know its not a great help but thats what they have to say, oh and I'd check to make sure that your e-mail application is not treating the incoming mail as Spam. Scott ...Show All

  • Software Development for Windows Vista What kind of Host Application to use?

    hi I didn't  really get behind this whole thing of persistence, and host application. Therefore I have following question: We are developing a asp.net web application, where order can be made. After defining the order, the workflow should be triggered, and is used to control certain sla (service level agreement) times, in which certain actions should take place. For example: After 8 hours the order is checked if it was given clearance, or after another amount of time the order is checked if it achieved a certain status. My question: What kind of host application for the workflow should I use I know this is quite a common application, but I didnt really get the point. I would appreciate any links, comments or hints. ...Show All

©2008 Software Development Network