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

Software Development Network >> J-Chen's Q&A profile

J-Chen

Member List

feby
Ayooya
mike6271
ippological
Jeff F
brian_tsim
Amos Soma
marina B.
Shady-Potter
Imran_Akram
Matt Fraser
MatthewMaas
BradDaBug
Ori'
SachaVDK
Raphael Pina
pajamo
teemuh
mehdi61e
Stuby085
Only Title

J-Chen's Q&A profile

  • Visual Basic String * 255 to VB6.FixedLengthString(255) conversion issue

    what should I convert this to in .NET The upgrade wizard changed Dim s_ReturnValue As String * 255 to Dim s_ReturnValue As New VB6.FixedLengthString(255) When I get to System_SetItems which expects an integer value; Call GetPrivateProfileString( "App" , "Items" , "192" , s_ReturnValue.Value , 255, INI_Filename) Call System_SetItems( CInt (s_ReturnValue.Value )) <<<-------------- If I look at s_ReturnValue in the previous line, it shows "192 with no trailing double quote, which I imaging would be 250 or so places to the right I get system exception "input string was not in a correct format" Anyone been here Thank yo ...Show All

  • Windows Forms Steam, Runtime error

    --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Runtime Error! Program: C:\Program Files\Steam\steam.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. --------------------------- OK --------------------------- Can anyone explain this to me and maybe give me a solution please Thanks Ken I seriously doubt it. From what I could see of that KB article, it would apply if you were getting the error you are getting with Roxio. You're not, you're getting it with Steam, so it's likely it's just a problem with Steam. The error is surprisingly common in cases where te de ...Show All

  • SharePoint Products and Technologies WSS V3 mail alerts

    Hi, I've install WSS and I have a problem with mail alerts, in the Event Log the following errors is displayed... An error occurred while talking to SMTP host u . Any ideas why the SMTP host appears to be corrupted Thanks, Paul. Yes I've doubled checked and I'm 100% sure it's correct I will try the to telnet the SMTP when I return to the office Thanks, Paul. ...Show All

  • Commerce Server Commerce Server 2007 Performance Guide is now available online!

    At long last, the performance guide for CS2007 is up on Microsoft.com for download at http://www.microsoft.com/downloads/details.aspx FamilyId=E79691F0-BE0F-40A6-940C-5D3A679C5526&displaylang=en . Enjoy! Hey Caesar, It looks like the tests were done with VSTS web test functionality. It would be really handy to have the web tests released for others to use. Is this something that can be done Thanks, Colin ...Show All

  • Visual Basic How can I customize the Start page?

    In the VS 2005's Start page there is unuseful things like "Getting started", "VS headilines". I don't use them. And I want to place there something that I'll use, like other programming utilities. How can I do this The startup page is a nice idea. Is there some XML file or other file that I can edit to fix some projects displayed on the Startup page Things got rather mixed up when I did some re-installs of part. I don't know that the re-installs did it. Because I was doing all kinds of things including moving and renaming directories and files. One thing that resulted, though is that the same solution is displayed twice but with different icons. I was thinking that Visual Studio must build the start page fr ...Show All

  • SQL Server Import/Export data with SQL Server 2005 Express

    Hello folks! I have installed SQL Server 2005 Express and SQL Server Management Studio Express. Everything looks ok and works fine, but I can't find the Data Import/Export Wizard.  Can anyone tell me how to Import/Export data Thank you!!! Hello Everyone, Just after reading this form, I tried out some import/ export operation like below SQL 2000 - SQL 2005 Express (Import/Export) Excel - SQL 2005 Express (Import/Export) It worked out very fine. I just used the DTS in SQL 2000 to do this. Any comments on this. Thanks Swami ...Show All

  • Visual Basic Data conversion problem

    Hi all, I encountered some problem regarding the following conversions statements: CDbl(strInputAmt) <> (numCalculatedAmt * 100) strInputAmt <> CStr(numCalculatedAmt * 100) I wonder what's the difference between the above two statements Please advise. Thanks! TM Well you are not to discriptive of the problem you are having so I'll take some pot shots... FIrst I can only assume the following: that you are doing a comparision since you are using the inequality operator...something like If CDbl(strInputAmt) <> (numCalculatedAmt * 100) then dosomething... and that strInputAmt is user input form a textbox or other means...if this string can not b ...Show All

  • Visual Studio Error HXC3031: A group of keywords for a single Help link or KTable exceeds 4,096 bytes.

    I get the following error while building the documentation for a really large assembly. Error HXC3031: A group of keywords for a single Help link or KTable exceeds 4,096 bytes. I am using the November CTP release of Sandcastle along with Eric Woodruff's "Sandcastle Help File Builder" tool. Any idea how to go about resolving this one Thanks. Hi Sanchit, Could you please try this without Eric's SHFB to see if this is an issue with Sandcastle. I am assuming this is happening at HxS compile stage Anand.. ...Show All

  • Visual Studio 2008 (Pre-release) export to image with black block

    My code is: RenderTargetBitmap rtb = new RenderTargetBitmap((int)canvas1.Width, (int)canvas1.Height, 96d, 96d, PixelFormats.Pbgra32); rtb.Render(sp); BmpBitmapEncoder encoder = new BmpBitmapEncoder(); encoder.Frames.Add(BitmapFrame.Create(rtb)); FileStream file = new FileStream(Environment.CurrentDirectory + "\\temp.bmp", FileMode.Create); encoder.Save(file); it run without exception,but the image ' blank area was fill with black block,why Interesting. It looks rather like the Visual is being drawn at not quite the same location as your RenderTargetBitmap. Here's your code from your post where you create a RenderTargetBitmap from your Element: RenderTargetBitmap rtb = new RenderTa ...Show All

  • Windows Forms Creating install packages for clients without .NET framework

    I have only ever done Web Application development, so with that being said: If I create a Windows Application and compile it into some installation package and give it to someone who does not have the .NET framework installed on their system, will it automatically install it for them, or simply error out and tell them they need the .NET framework Is there a way to wrap up the .NET installation with the installation of my Windows Application Thread moved to the appropriate forum to answer your question: you need to have the .NET Framework installed (the appropriate version depending on which version your app was developed in). If it is not installed, it will not run. You can create a setup ...Show All

  • SQL Server Can we alter system views in SQL Server 2005?

    Hi, all experts here, Thank you for your kind attention. Would please anyoneh ere give me any advices about if we can alter system views in SQL Server 2005 With best regards, If that is your intent I would suggest that you add extended properties on the table columns. Take a look at this feature at http://msdn2.microsoft.com/en-us/library/ms190243.aspx . or look it up in books online. In short, extended properties let you add a description to any object in the database such as tables, views, schemas, columns etc. e.g. To add an extended property to a column of a table you could do something like sp_addextendedproperty 'property_name','your description','schema','schema_name_of_table','table','table_name','co ...Show All

  • Windows Live Developer Forums Count pushpins in VeLayerSpecification

    Hi, I'm adding a number of pushpins using a VELayerSpecification use a dynamically generated GeoRSS file. What I'd like to do is count the number of pushpins that are genereated. Is this possible Or can I somehow pass the information in the GeoRSS and pick it up somehow Cheers Mike from the iSDK: function AddMyLayer(type) { var veLayerSpec = new VELayerSpecification(); veLayerSpec.Type = type; veLayerSpec.ID = layerid; veLayerSpec.LayerSource = txtSource.value; veLayerSpec.Method = 'get'; veLayerSpec.FnCallback = onFeedLoad; map.AddLayer(veLayerSpec); layerid++; } function onFeedLoad(feed) { alert('RSS or Colle ...Show All

  • Windows Forms Executer une requete SQL qui retourne un seul enregistrement

    Bonjour, j'utilise la version 2003 de .net. Je travaille avec une base de donnees Sql qui est charge dans un datagrid. Je voudrais pouvoir lorsque je fais la selection de certaines lignes, pouvoir les afficher dans mon datagrid. J'ai aussi ce code qui me genere une erreure lorsque je veux pouvoir executer une requete sql me permettant de retourner une seul enregistrement : public static Dictionary< string , string > ObtenirEnregistrement( string requete) { return ObtenirEnregistrement(requete, ConfigurationManager.ConnectionStrings["ConnectionString"].ToString()); } Comment modifier cette methode afin qu'elle puisse fonctionnee correctement Merci d'avance... Hi! I am using the ...Show All

  • Smart Device Development How to send objects accross network?

    Does compact framework have serialization I wish to send object accross the network. Anyone have any ideas Using desktop .net i would serialize a struct and send it via a socket. What are people using in compact framework Thanks. Have you given a try to Serialization I'm not sure I haven't used it in Compact Framework. But i think it should be there. If you have simple data in class or struct like, int. float double etc Use BitConvertor class to make you own Serialization and Deserialization alpgorithm. For other Data types there are many classes to convert that type to byte array. Those will help. Need an Example of what I'm saying Feel Free to write again! Best Regards, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA & noob programmer != success?

    I am way confused, In my new issues of both OXM magazine and Game Informer there are articles regaling the use of XNA to build your own 360 games, (albeit in the future) but no harm in building now and transffering to 360 when they open that option up. My question is this, I am fairly new to c++ only, I dl'd c#express, (even though I hae VS 2005 PRO...) and installed XNA and am lost. My confusion stems from both articles saying XNA is designed for ease of use by people without any programming knowledge. It says it is built around a simple interface using largely mouse clicks and drop down menus,(Game Informer, November 2006 issue#163, page 55) but where I have seen many posts here by people directly saying that XNA is a toolkit specifical ...Show All

©2008 Software Development Network