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

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

robinjam

Member List

crash33
Scott Tachiki
R.Tutus
BiBi MeiMei
Bill Brennan
cisfreak2
bslim
CARMCK
Batya
Bill PDX
George2
Glen Satuito
kart
Ivana Hudakova
kfsoft
Ariel Valentin
danskcarvalho
BhuttCrackSpackle
Crash Override
Simone1
Only Title

robinjam's Q&A profile

  • Visual Basic MessageBox.Show doesn't works in Win2003 ED. Why?

    Hi everyone, Primary platform is Framework 2.0. We're suffering an odd behaviour for an UI code. We've built a Windows Service by means of VB and everything goes fine. OnStart method and another ones we've defined a MessageBox.Show function in order to show errors or whatever to the users but unfortunately they don't see at all. Curiously it happen only in our server (Windows 2003 Enterprise Edition) no in a Windows XP Pro workstation. Does anyone ever faced this issue According to BOL is not recommendable to show UI in that kind of projects but "only not recommendable". Thanks for your time, I think you'll find the issue is more to do with windows service than the OS - messagebox works ...Show All

  • Visual C++ C++/CLI finalizer chaining in a class hierarchy

    Is the finalizer ( ! ) in a C++/CLI derived ref class automatically chained to call the finalizer of its base class or do I have to manually implement this in my derived ref class The documentation in the "Destructors and Finalizers in Visual C++" topic is confusing about this. Also if the finalizer is protected rather than public will it still be called originally by the GC ref class Base { public: !Base() { /* Release unmanaged resources */ } }; ref class Derived : public Base { public: !Derived() { /* Release unmanaged resources */ // Does !Base(); have to be manually called } }; Peter Ritchie wrote: From Destructors and Finalizers in C++ : Unlike Visual C++ ...Show All

  • .NET Development TransactionScope commits even tho exception was thrown

    I have the following very simple block of code: using ( TransactionScope scope = new TransactionScope ()) { try { newSongId = this .CreateNewSong(newSong); // First create the new song.... returnValue = this .AddSongToCd(cdId, newSongId, 0); // then add new song to cd.... } catch ( Exception ex) { errMsg = ex.Message; } scope.Complete(); } Each of the 2 lines within "try" stmt (CreateNewSong and AddSongToCd) call a SQL stored procedure, and I know that these 2 calls work. For testing, I am intentionally sending in an invalid cdId to force the 2nd call to fail (AddSongToCd). When I do this, the AddSongToCd() call does indeed fail and the exception is caught by the " ...Show All

  • Visual Studio 2008 (Pre-release) Cant' get past Connection Limit of 10 on Windows Server 2003

    We're having trouble getting past the 10 connection limit. A simple NetTcpBinding service will accept exactly 10 client connections but no more. This is using WCF RC1 on Windows Server 2003 Standard. We've set the binding's MaxConnections property to 1000. What else is needed to enable more than 10 clients to simultaneously connect to a service David Pallmann Architectural Consultant Neudesic I found the answer: in addition to setting your binding's MaxConnections setting to a reasonable value, you also have to override the default throttling settings of your ServiceHost to get more than 10 connections. David ...Show All

  • Visual Studio Express Editions RichTextBox - two questions.

    Hi I am using 3rd party dll to receive string messages and displying them in RichTextBox. How can I limit the amount of lines to be in specific number (let's say 100) and in case 101 message arrived delete the first one and insert the new message at the bottom How can I autoscroll the scrollbar in the RichTextBox to the last message that arrived (on every message that arrived the cursor move to the first line). Thanks in advance Asaf. The RTB does have scroll control. It doesn't have much of a line based architecture. I don't see any insert or remove members. However, it does have a .Lines proprty that can read and write an array of lines. Since you can read and write an array you ...Show All

  • Visual Basic What Language to Use

    I was wondering if you guys could give me your advice on something. I want to create a few applications for Windows (maybe even add some special Vista only things). Problem is I'm not sure where to start with Windows development. The only applications with GUIs that I've ever created involved Java (3 years experience), C, and a bunch of web based languages. When it comes to Microsoft Windows I'm not sure where to start. I'm more than willing to learn a new language to develop Microsoft apps, just not sure which is the best one. Any suggestions Thanks, **I do have a full (legal) copy of Visual Studio 2005 && 2003 C# would mostly likely feel more comfortable to you since it is very Java like. ...Show All

  • Visual Studio Post event for the entire build process.

    Hello, I wonder if there is a way to trigger an event after the entire build process If I for example build the whole solution I want to trigger a target or build-script after the entire solution has been built, and if I build 5 of the projects in a solution I just want the target or script to be triggerd after the 5:th project has been built. The only way I can figure out to do this is to add a dummy project to the solution then add it as the last project in the build order and then run a target only for this event, but then I got problems if I do not build the entire solution but only a few of my projects in the solution. Any help is appreciated ;) Thank you in advances! //Martin Try looking at this blog entry for ideas on how to d ...Show All

  • .NET Development Sending large number of mails

    Hi every one Here I have a problem. I need to send over 2,000,000 mails or more (to the members only not Spam) in asp.net web application. I don’t know how to handle the situation. I ma looking for any help you guys. Any code snippet or article on how to will be highly helpful to me. Thanks in advance. Please help me. Thank you Ahmed I am not a spammer, I am going to send mails to the registered users only who registered by shopping cart and subscribed for receiving mails alert and they can un subscribe from the alerts. I want to know is there any way to send mails without hanging server any alternative like using separate mail server / using separate methods or any third party t ...Show All

  • Visual C# Creating CAB Files programmatically

    Hi, I want to create cab files programmatically and that also multiple files at same time using muliple threads. I am creating my program using C# so I need some .net api or com api to create cab files. Is there anything available like that Thanks. Visual Studio 2005 has the CabArc.exe utility in the Common7\Tools\Bin folder. It is also available in the Platform SDK's Bin folder. Run it with System.Diagnostics.Process.Start(), the command line is briefly described here . ...Show All

  • Visual C++ binding datagrid control with sql server database

    hi i need to build a dialog based application. next i need to place a datagrid control(registered activx control) and bind it to sql server database..i am completely new to vc++ and do not know what code to be placed and where(in which datagrid class...) please help Thanks Hello Re question: Such questions (general development questions) are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 For such issues please use an appropriate newsgroup, potentially one at http://msdn.microsoft.com/newsgroups . OTP Thanks Damien ...Show All

  • Visual Basic writing ANSII/ASCII characters using streams

    Ok so I have some text boxes that have some text in them, I think I know how to convert them to ascii chars by converting them to uni bytes then to ansii/ascii bytes then to ansii char arrays but just in case I have it wrong, and I still am having issues writing them to a data/text file, how do I do this and write them to a file That's not quite true. What is happening is that your fortran application doesn't recognise both a carriage return AND a line feed (CrLf) characters. Cr = chr(13) = Carriage Return. Lf = chr(10) = Line Feed. The file format you have requires (apparently) a carriage return only. ...Show All

  • Windows Forms Row Deselection When Same Row Clicked

    Through a suggestion in the DataGrid FAQ I have happily implemented full row selection in my DataGrid. However, now I get the following behavior. 1) Select a row (and it shows selected) 2) Select the same row and it deselects it 3) Select the same row again and it is still deselected By select I mean clicking on the row itself not the far left of the control. By selected I mean the row is highlighted. Any ideas on why when clicking on an already selected row it is deselected Thx. I resolved this by adding the following code to the mouse up event grid.Select(grid.CurrentRowIndex); ...Show All

  • Visual C++ Corrupt Builds After Cancel

    Our team has a ~50 project solution with a few dlls, lots of libs, and three executables. If I do a build solution, and at any point during the build hit Control-C to cancel it, whatever is being built at the time I hit the button is now corrupt. It looks like it leaves the partially created .obj, .exe, or .dll around and doesn't detect that it only got halfway through. Is this a common symptom Is there some known fix (MSDN and google searches didn't turn up any hits) Our projects and solution are all converted from 2003, if that's any help. Thanks for any info, Chris Jurney Senior Programmer Relic Entertainment I hope this is fixed in SP1. To close it as not reproducible means only one thing--someone wa ...Show All

  • Smart Device Development How can Smartphone 2003 native development be done on VS

    I am in a process of developing NATIVE win32 apps for Windows Mobile Smartphone 2003. I have come to realize that to develop native apps for the above platforms, I will have to do it in eMbedded Visual C++ 4.0. After working a little bit on VS2005 for Win Mobile 5.0, I am very much missing the Visual Studio experience, I mean the intellisense. I am having to do it because i want to target a device that is based on Win Mobile Smartphone 2003. Is there any way that I can continue to use VS 2003 or 2005 while being able to target the above device at the same time. All sorts of comments are welcome. Vishal Hi Vishal, Which edition of Visual Studio 2005 are you using The Standard version and higher support programming Smartphone 20 ...Show All

  • Windows Forms Details regarding UndoEngine Class in .NET

    Hi Friends, I was trying to build an application with Undo/Redo functionality. WHile going through MSDN, I came across UndoEngine. But I didnt get how this can be used to implement Undo/Redo in my application . Further I didnt get much more details rearding the same. If any of you have any idea on how to use UndoEngine in an Windows Application , please share your thoughts on the same. Yeshwanth Yeshwanth, I found this post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=179620&SiteID=1 very useful in using the UndoEngine. I have found that the trick to using the UndoEngine and pretty much everything else in the design environment, is having all the correct services. Its a ...Show All

©2008 Software Development Network