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

Software Development Network >> Jutsin Leung's Q&A profile

Jutsin Leung

Member List

wencey
AndyQ
hank voight
chipjollyroger
Part Time Australian
BobInIndy
StarsFire
kymaita
VuaCorona
hobbestherat
Tony Fabian
gkrups
swatts777
warkaid
yln
skrajmohan
Sarvesh Jain
lnetanel
Bandile
Boulderdude
Only Title

Jutsin Leung's Q&A profile

  • .NET Development XML request leaving out TRUE attributes

    When I set my XML attributes that are boolean type to TRUE, they are left out of the REQUEST. When set to FALSE they show up. Please see code below (when I look at the memoryStream all TRUE attributes are left out and FALSE are include). Thank for you for any help with an explanation. Private Function SetupRequestOptions( ByVal COGlobalSettings As COGlobal) As export_documents_requestOptions Dim requestOptions As New export_documents_requestOptions With requestOptions .documentType = CODocumentTypes.SalesOrder .onlyChecked = COGlobalSettings.COonlyChecked .exportDeleted = COGlobalSettings.COexportDeleted .onlyUnexported = COGlobalSettings.COonlyUnExported .onlyExported = COGlobalSettings.COonlyExported .markOnExport ...Show All

  • SQL Server Dynamic report on screen vs. export

    I was wondering if it's possible to display a report, but export an expanded version of that report For instance if I have a report with, say, 6 columns, when the user exports to Excel I want to export 12 columns (6 that were displayed plus 6 additional columns). I tried hiding the additional columns, but they're also hidden in the export. I ended-up creating a separate report all together for exporting, but this is confusing to the user. Is something like this even possible Unfortunately renderer-specific formatting adjustments are not supported. You will probably need to construct two versions of the same report (one with the extra columns) and instruct your users to use the appropriate one for the output format. ...Show All

  • Visual Studio Express Editions open a file and insert its contents into access

    I am trying to get some data out of a text file and into a database. I have the openfileDialog to were I can select the file but I am unsure of how to read the file and input it into an access database. Any pointers would be great of were I should look. Thank you. Here is a sample of the data, Which would go into one line of the table. Dave ruez BFF DK 34 552 115 47 3 51 75 4 8 1250 im not sure. What errors do you get you need to be sure that you clear the parameters from the command.parameters collection after you executed the query otherwise you will get errors the next time you try to execute the statement also check to see what the value of each parameter is by stepping through the debugger and see what line you ...Show All

  • SQL Server Service Broker SQL 2005

    Hi, Wat is Service broker wat is the use of service broker How to use it with SQL 2005 Thanks & Regards, Mani I think explaining Service Broker would exceed the sense of the forums. A bit googling will bring back tons of results which will get you an idea of Service Broker. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Basic ToolstripMenuItem.Visible

    Hi, I have a menu item that was upgraded for VB6 to .net (mnuBranch) as Toolstripmenuitem. In the code this menu item is being set to visible or not when there are multiple branches. Here is the code me.mnubranch.visible = (rs.recordcount > 1) This didn't work and tried assigning the recordcount to a boolean variable and then assign it. Still it doesn't set the property to true. There is a popup menu that needs to be populated depending on this property. So the code doesn't get executed. Thanks, SS Thanks. But I found a roundabout way ie using the recordcount I executed the lines of code that I need to instead of using the visible property of the menu item. ...Show All

  • Visual C# Operator that adds two Points

    I think I would have to use the following code: public static Point operator + (Point point1, Point point2) {     return new Point(point1.X + point2.X, point1.Y + point 2.Y); } But I don't know why it doesn't go What probelm do you get The following works fine - I copied & pasted your method into this class: class Point { private int x; private int y; public int X { get { return x; } set { x = value ; } } public int Y { get { return y; } set { y = value ; } } public Point( int x, int y) { this .X = x; this .Y = y; } public static Point operator +( Point point1, Point point2) ...Show All

  • Visual Studio Installation failed, MDAC 2.8, SP1, access is denied

    Tried to install VS2005 on a Win2000 Pro. PC, but got the error when it was installing MDAC 2.8 SP1 and the whole process stopped. Any idea and solutions Thanks Thanks for the suggestions. Still having problem. I first followed your suggestion to run the SubInACL tool , it took few minutes to finish and no error message. Then I ran the mdac_typ.exe directly from the CD, I got this error message right after I click "Finish" to install: "INF Install failure, Reason: Access is denied". If I ran the installation from the VS2005 CD, this is the error log I received: [02/20/07,14:27:47] Microsoft Data Access Components 2.8 SP1: [2] Error code -2147024891 for this component means "Access is denied. " [02/20/ ...Show All

  • Visual Basic Run My Computer

    Hi there again, I was wondering how i could run "My Computer" on Win XP... Can anyone give me a solution If i'm not clear, what i want is to run Explorer and open it up in the My Computer folder. With Process.Start(Environment.GetfolderPath( Environment.SpecialFolder.MyComputer)) I cannot do it. Thnx a lot; is there any similar way to call xp's built in start searching for something i type in I mean i have a textbox control, and when i press a button, i'd like to call xp's search searching for the content of the textbox... is there any way to do this thnx ...Show All

  • Windows Forms problem with animated gif

    I'm trying 2 display an animated gif on a datagridview but when i do it it is only displaying the static image. When i display it on a windows form the animation works but when i put it on the grid it dosen't. Is there something special about a datagridview that dosen't allow for it to display animated images When you draw an animated gif on a windows form it shows its static picture. When you place the animated gif in a picture box the picturebox will play the image. The datagridview only paints the data inside the cell. The only time a control is used is when the cell is edit mode. The best you could do is to create a custom column which plays the animated gif when the user selects the cell ...Show All

  • Visual Studio Express Editions Cant download Visual C++ 2005 express edition

    downloaded the bootstrap executable but it couldnt download the visual c++ 2005 express edition bcos of network problems. precisely, it complained of not being able to download .net framework 2.0 secondly, I clicked the link for manual downloading and installation of the program but link show "page cannot be displayed". pls, who can render help Did you use windows update to get updates http://www.windowsupdate.com/ .NET 2.0 is downloadable from http://www.microsoft.com/downloads/details.aspx familyid=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en If you still have issue please let us know... ...Show All

  • Visual Studio Express Editions Using an Accept Button within a TabControl

    I have a form that contains a tabcontrol. When I press the enter key, I'd like the tab to activate an accept button within that particular tab. I know how to set the Accept button at the form level, but not within individual tabs. Code or menu routings please. Tried TabPage2.acceptbutton = btnCalculateFlop  Where TabPage2 is the Tabcontrol page, and btnCalculateFlop is the button I want to activate. The error message I get is:  'acceptbutton' is not a member of 'System.Windows.Forms.TabPage'.  Thanks in advance. Jet Jetpilot86 wrote: It seems I'll have to have this set up for each tabpage, correct Yes, In your scenerio, you will have to have a button on each tabpage that you ...Show All

  • Visual Studio 2008 (Pre-release) Fidalgo vs Orcas

    I'm still a bit confused about Fidalgo (WPF add-in for Visual Studio 2005) vs Orcas (forthcoming new version of Visual Studio). Particularly as Fidalgo is described as "Orcas" .NET Framework 3.0 Development Tools: http://www.microsoft.com/downloads/details.aspx FamilyId=935AABF9-D1D0-4FC9-B443-877D8EA6EAB8&displaylang=en Will there ever be a final release of Fidalgo for VS 2005 or is this really a sort-of preview of Orcas Tim Yes, no offense meant. We chose the name because to get from Whidbey (VS 2005) to "Orcas", you could take a ferry from Anacortes (on Fidalgo). Did we ruin Fidalgo's chances for future naming choices...I don't think so - for some reason the VS te ...Show All

  • Visual Studio Team System AssemblyInfoTask default Versioning Flawed?

    Is it just me, or isn't the notion of versioning defaulted to by the AssemblyInfoTask http://www.gotdotnet.com/codegallery/releases/viewuploads.aspx id=93d23e13-c653-4815-9e79-16107919f93e  fundamentally flawed. Assuming major.max.build.revision. Everyone using this task, including Microsoft, seems to be using the strategy that the build number is specified to be DateString with a format of yymmdd, you get something like 061117 on the day of this post or the following if we accept the defaults: 1.0.061117.00 First of all, the actual number (since it gets converted to an integer) becomes 1.0.61117.0 when it gets compiled.  Most importantly, if this was next year (2007) at this time, you get assemblyinfo files u ...Show All

  • SQL Server SQL 2005 Management Studio

    Is it possible to install the management studio on a workstation I am running SQL Server 2005 on a server and would like to be able to access management studio without having to log onto the server--just like I can do with Exchange System Manager. I haven't been able to find anything out there on this. I'm probably just looking in the wrong places. Thanks. I am also having the same problem. I install Visual Studio 2005 and 2008 before the MS SQL 2005. I keeps telling me that the workstation tools are installed but i don't see it anywhere. ...Show All

  • Visual J# vjc throwing an exception

    I do not have this problem when compiling from VS 2005. This started after I uninstalled the J# redist and then reinstalled it using the MSBuild created bootstrapper program (testing it). When I build using nant which calls devenv to build the solution I get the popup asking me what program I want to use to debug vjc because it hit a problem. Even weirder, the compile continues - it does not return an error. But the rest of the projects are not compiled. What is going on and how do I fix it thanks - dave Hi, At this point i am not in a position to comment on this as i said we really don't test such scenarios ourselves as part of our regular testing. Is it possible for you to send us the bootstrapper code (no the exa ...Show All

©2008 Software Development Network