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

Software Development Network >> Liu Qiang's Q&A profile

Liu Qiang

Member List

AhV Sharky
Pi314159
Robin E Davies
Matt DC
Hedgeh0g
Anarchy
Umair Khan
xlordt
algoaddict
logtorahul
Ultrawhack
Andreas Maurer
Syed Atheeque Pasha
Batico
Galoleins
Gert Drapers - MSFT
Robert F Bouillon
Bill_C
Garegin Gulyan
bighoss
Only Title

Liu Qiang's Q&A profile

  • SQL Server Maintain datatype for reporting services from OLAP

    I'm trying to extract data from my OLAP and present it using reporting services. The problem is that all the values extracted from the OLAP seems converted into string instead of keeping their original type. Am I doing something wrong in the setting Please let me know how can I check the data type in reporting services. Thanks! Hi David, Thanks for your speedy response first. Actually, I have done couples of time of what you've mentioned. I am certainly sure that BI studio show me the datatype is what I expected. However, once I get into the reporting services. All of them becomes string datatype. I need to use cint and other function to convert them back to their supposed datatype. Is there anything wrong with my MDX statement I jus ...Show All

  • Visual Basic How to expose SerialPort in VB.net to VB6 consummer

    Hello All developers I used to post a question on Oct 27,2006 regarding the same issue but I didn't get any positive answer. My main issue is, I develop a software library that communicate with a hardware device through RS232 which is a serialport . I export this library so that it can be consumed by VB6 developer, the serial port object was exposed to outsite world by mean of interface . Other objects of the class work well through the interface but SerialPort object doesn't I'm not sure how CLR managed this object and I don't know its deep mechanism . Is there any buildin interface for serial port in VB.net for working in VB6 as a COM object. The error on VB6 that I got is, this serialPort object is not instantiate . Actuallty this se ...Show All

  • Architecture Parsing;

    Is there a way to parse a string using grammar without having to generate parser classes before deployment I want to have about 50 different grammars that I must be able to generate from data stored in a database. I can generate the grammars, store the grammars, but I do not know how to use these grammars without having to compile them at design time. I was looking at the Visual Studio SDK 3.0 that includes the Managed Package Lex Scanner Generator (MPLEX) and the Managed Package Parser Generator (MPPG). It seems that there is no *worthwhile* documentation on how to use these tools or even if I could benefit from them. I do not want to code in C++ as noone except me at my plant knows how to code it. So you can throw away yacc, lex, ...Show All

  • Windows Forms Stored procedure with combo box?

    On a Windows form, I have textboxes to show data rows of a main table. The main table has a foreign key to a minor table which is a list of status values ("Pending", "In Progress" and "Done"). The object is to display the status in a listbox or combobox. I want to know how to do this. Some notes: 1) The code to set up connections, DataAdapters, CommandBuilders, bindingsources, Datasets, etc works fine. 2) I would like to set up any constructs in code rather than with a wizard. 3) Unless I have to I want to avoid creating the relationship between the tables in the wizard. 4) I get the sense that one Dataset can access and update both tables, but I don't know how to tell the dataset about additional tables. ...Show All

  • SQL Server can calculation be defined in SQL Server Management Studio?

    hi!can somenboby hlep me,i want to know that can calculations be defined in SQL Server Management Studio And how to do it Thank you very much! If your only alternative is SQL Server Management Studio, you can add a calculated member by running an ALTER cube script. In SSMS connect to the AS server where your cube is located. Expand the database and cube folders until you find the cube you want to add a calculated member to. Right click on the cube and then choose: Script Cube as -> ALTER to -> New Query Editor Window Then do a search on the script for MdxScripts. You should now see the calculation script for the cube. Edit the script to add in your CREATE MEMBER statement and then run the script. As long as your MDX is e ...Show All

  • Visual C++ Microsoft Visual C++ Debugger

    Hi friends! Excuse me i have a question! How can i do a program in Visual C++ 6.0 or 2005 using assambler Microsoft Visual C++ Debugger is a tool or component or what How create a new project in VC++ 6.0 or 2005 to start program in assambler thanks! I think this section of docs may answer all your questions, http://msdn2.microsoft.com/ko-kr/library/afzk3475.aspx Nikola ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Libs and MDX

    Is it possible to use C++ library files in XNA Like the .lib and .dll files And can you use MDX with the Xbox 360, or is it strictly XNA Could you though use the DllImport attribute to incorporate unmanaged code into your 360 project When I look at the Xbox 360 mscorlib.dll[3.0.0.0] through the Object Browser, the attribute is in the Runtime.InteropServices namespace. ...Show All

  • Software Development for Windows Vista IfElse with code condition

    I don't understand how to use an IfElseBranchActivity with a code condition. I just want to call a method in my IfElse: private void isNumber(object sender, ConditionalEventArgs args) { //... //args.Result = true/false; } but I can't bind this method to my IfElse activity. If I bind it to a new property or field I don't know how to use the generated code. Could you post a simple example Thanks in advance Thank you very much! I thought I had to double-click the blue "bind" icon but this is only to bind to properties and fields, not methods, am I correct It's not easy to understand (only the first time of course) ; by the way is there a local documentation installed ...Show All

  • Windows Forms How to Bind a Calendar to a DetailsView,DaatGridView and Form View?

    i have a DataGridView that binds to a database... and i want to use a Calendar in Editing for my fields that are DateTime... how can i do this i tried usaing DetailsView for editing and FormView as well... help... ...Show All

  • Windows Live Developer Forums Robot Invaders final results?

    The official rules state that: "Potentially winning Participants will be so notified via e-mail the week of on or about the week of October 15, 2006, (based on the contact information provided and maintained by Participants on the Site), subject to verification and acceptance as specified in these Rules." It is of course possible that I am not a potentially winning Participant (although I hope I actually am), but the rules also state: "In addition, Contest Prize winners will be posted on the Site on or about October 15, 2006. " I haven't seen or heard anything about the results of the contest. Has anybody got news about it I would like to know what is happening, because the judging period is real ...Show All

  • Software Development for Windows Vista A Way to mark an activity to not persist?

    I have an activity which invokes a web service. The web service has a parameter which isn't serializeable, and is throwing an exception when the SqlPersistance trys to unload the runtime. So my question is, is there some property or setting I can set to make the SqlPersistance ignore certain parts of my workflow, since really they don't need to be persisted anyway I asked someone familiar with this piece of WF on the team and he mentioned that in DataExchangeService, the incoming events are serialized as message into the workflow & out-ref parameters from outgoing method call or cloned. Both of these things hit serialization/de-serialization of parameters. This serialization is not related to Work ...Show All

  • Visual Studio Express Editions New projects fail to run

    xI created a new project today, and for some reason, when I try to run it, it exits as soon as it starts running. I've created other projects with this installtion of VB Express and never had a problem. The old projects even still work and run as I'd expect. As a test ,I created a new Windows Application with nothing in it but the default Form1, and ran it. It also exits as soon as it starts. BUT... If I double-click the exe in the debug folder, the Form1 window pops-up as expected. I even tried installing SP1 for Vb Express and that hasn't helped either. Does anyone have any idea why new projects would suddenly stop working Will I have to do this everytime There are no lines of code in the program, oth ...Show All

  • Software Development for Windows Vista Problem with the manifest file for Vista

    Hi, I have to embed the manifest file for my application for Windows Vista. I have added all the necessary information in the manifest file and embedded it to my application using .rc file of my application. And it is working file. But I am facing the problem of the different manifest files for Debug and Release version. Please have a look at the following: In Debug version: < dependency > < dependentAssembly > < assemblyIdentity type = ' win32 ' name = ' Microsoft.VC80.DebugCRT ' version = ' 8.0.50608.0 ' processorArchitecture = ' x86 ' publicKeyToken = ' 1fc8b3b9a1e18e3b ' /> </ dependentAssembly > </ dependency > < dependency > < dependentAssembly &g ...Show All

  • Software Development for Windows Vista missing a reference to System.Workflow.Runtime.Messaging

    Hello Everyone, I am new to 3.0 and to windows workflow foundation, i posted this in another forum but just realized there is a forum dedicated to windows workflow foundation so please forgive the duplication. I have just installed the .net framework 3.0 and the extensions for windows workflow foundation on my machine. I have also downloaded a sample from the windows Workflow foundation site however when i try and run it i get build errors because my compiler cannot find the System.Workflow.Runtime.Messaging Namespace. I am wondering if i have missed an installation file or if i've installed 3.0 wrong or what, i have no idea and can't seem to find any answers on google. Any information will be helpful. Thanks so much in advanc ...Show All

  • Visual C++ Function pointers, pointers and references confusion

    I'm struggling to get my head around this, I'm not entirely sure what is happening here. Wondering if someone could offer a detailed explanation as I can't find an answer elsewhere. In project InterfaceDLL which is a static lib although Interface.h does not make up part of the static lib. class DLLManager holds Interface * m_pInterface; in DLLManager.h. Interface is a struct in Interface.h declared in Interface.h not inside the struct and as extern "C":- bool GetInterface( Interface ** pInterface ); typedef bool ( *GETINTERFACE ) ( Interface ** pInterface ) Inside DLLManager.cpp in function LoadDLL() GETINTERFACE _GETINTERFACE; _GETINTERFACE = ( GETINTERFACE ) GetProcAddress( m_hDLL, "GetInterf ...Show All

©2008 Software Development Network