Software Development Network Logo
  • Microsoft ISV
  • Visual Studio
  • .NET Development
  • Game Technologies
  • Visual J#
  • VS Team System
  • Windows Vista
  • Visual FoxPro
  • Visual Basic
  • SQL Server
  • Smart Device
  • Visual C++
  • Architecture
  • Windows Live
  • VS Express Editions

Software Development Network >> Ronald Tan's Q&A profile

Ronald Tan

Member List

StaC
Tim Reid
Yoann
cajinamaster
n00i3
MDBD
dougn
WILLPOWER
PatrickL
Chris Bertenshaw
A-Ka
saihari
Brad Hehe
PSuo
Bassam Basamad
elias_adum
Mike Cating
itprochris
Shaun Hayward
tsukelly
Only Title

Ronald Tan's Q&A profile

  • Visual C# c# expression evaluator, Immediate window control, or interpreter

    Hi, I am writing and application where I have a class library and I want my clients to call on the methods of these library using c# expressions, much like the Immediate window can be used to run methods of objects at design time. Many of the classes have operators, so they should be able to use these as well. Is there an Immediate window control or an c# expression evaluator that I could include in my project. The idea is that the clients write commands in the User Interface and they get executed. I could use CodeDOM, but the problem is that I want to keep in scope whatever variables they have declared or used in previous commands, and whil ...Show All

  • Visual Studio Team System Offline mode help - Finding editable files not checked out

    I understand that offline mode wasn't a priority for V1.  We can always just attrib a file as writable and party on.  However, when I do get my laptop connected back up to the network it would be nice if there was a TF command (even just a command line command) that would let me know which repository files I have that are editable but not checked out.  It would also be essential that the command works recursively so that I can just execute it at the top of my workfolder.  Something like: [C:\Projects\Foo] ! tf hijacked /recursive * A minor bit of GUI support for hijacked files would be ...Show All

  • Windows Forms Still no luck

    My application works fine on my development machines which already have the Framework installed, but trusting the prequestite feature to install the framework or Windows Installer on machines which need the pre-req. install fails. The browser reports CGI Error: The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: (...with no more info...) I've had no look in searching the solution that applies to my situation. A feature of possible interest is that each time I publish a new version of the application the host server reports an unhandled exception. System.Argument ...Show All

  • SQL Server SOAP API

    Is there any API available for getting assigned role information For eg: A user xyz has a browser role and other user zzz has a content manager role. Now, I should be able to pass the user credentials and get back the assigned roles. Thanks, No, such an API does not exist. The reason is that the "roles" that a user is assigned to depends on the item in which they are acting on. A given user might have "Content Manager" role on one item in the catalog, but not have any role on some other item in the catalog. In order to determine the roles in which different user groups are in for a particular item in the ca ...Show All

  • Visual Studio Express Editions multiply the entire array items in one step

    I would like to know if there is a more rapid way to multiply an array with a number in Visual Basic than the one presented below. I haven't found much on vectors in the help and seems that the only possible way would be to use the matrix class.   e.g.  {1,3,4}*2 = {2,6,8} I know this way to do that looping through the array: Dim a() As Integer = {1, 2, 3, 4} Dim b As Integer = 2 Dim c As Integer For c = 0 To 3 a(c) = a(c) * b Next however the thing doesn't really work well for large arrays (in term of time), therefore I was wondering if the same operation can be performae ...Show All

  • .NET Development How to force TcpClient to use a specific port

    Everytime I use TcpClient.Connect it uses a different port is there anyway to force it to use the same port everytime or determine which port the client is using so I can set up a listener for that port . I'm using a WiPort to control a relay controller which returns status info . When I monitor the TCP/IP from the WiPort responds to the sending port. I only have VBExpress but can probably muddle thru a C# solution thanks ...Show All

  • SQL Server Create stored procedure wizard in 2005?

    Where is the create stored procedure wizard in SMS 2005 that we had in 2000 ! The templates are nice, but they show syntax only.  The 2000 wizard created insert update and delete stored procedures based on the table structure.  Regards Richard   Looks like it has been removed, which is a real shame. The templates aren't much use to me - I know how to write SQL, but they are tedious when they are simple insert, update and delete statements. Looks like I'll have to write my own little app to do them for me :-( Pete ...Show All

  • Windows Forms Problem with user control (button) and painting?

    I created a custom button control which inherits from the forms.button. The effect I wanted to achieve is to have a borderless button until the mouse enters it and then at that point have a blue border. When the mouse leaves there is no border. What is actually happening is the when the mouse is not in the button the border color is the& ...Show All

  • Windows Forms R:Base - is there any place for .NET in it?

    Hi, a few days ago I have had an interview with local company who is looking for a developer. It appeared that they are R:Base shop. Who knows, is there any place for .NET in R:Base Or this is just a closed environment Is it dead end in a career Any info will be greatly appreciated. Thanks. Victor ...Show All

  • Visual Studio Express Editions Wish to use text box to only allow numeric Data entry

    I am creating a windows form with VB expressions How to I allow only text to be input into text box How do I allow only numeric data entered into textbox How do I place a "zero" in the textbox if there is no value for the user to input How do I allow for Currency How do I place "," seperators and "$" i.e $ 1,123,123.00 eg. Code: 'this is to create liabilites calculator Dim mort. as double =textbox1.text Dim Credit as double =textbox2.text Dim Total as Double =Textbox3.text Total = Mort + Credit If i debug and do not place values in the box I get error. So I need to Have & ...Show All

  • Visual Basic How do I ADD A NEW DATA SOURCE ... it doesn't work!! Why???

    In Visual Stuidio 2005 Enterprise Edition Beta 2 allows you to ADD A NEW DATA SOURCE in one place in only one way. Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE.IVsExtensibility'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3C536122-57B1-46DE-AB34-ACC524140093}' failed with HRESULT: 0x80004002 (No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))).     Michael My mistake for typing the wrong word. I have 27 years of programming experience in 4 continents and 31 ...Show All

  • Visual C# MapPoint

    how can i benefit form MapPoint in VS.NET MapPoint is a mapping and directions api and web service. if you need to display maps or directions on a webstite, PocketPC distributed app, or windows based app you can use Mappoint and pass very few pieces of information and get maps, directions, or both displayed on your sites if you want. HTH ...Show All

  • Visual Studio Express Editions ToString()?

    Ok, fine! From the online help: public : static String ^ ToString (     short value ) My code: label1->Text = ToString(comboBox1->Items->Count); The Build Output error message: error C2661: 'System::Object::ToString' : no overloaded function takes 1 arguments So, how do I do this This is a common problem. I need integers, floats... numbers as strings to display on my form! What is the EASY way to do this Show me how to do this for longs, shorts, floats, etc. ToString is a memeber of the type you are using. For example: int g = 10; g.ToString();  //gets you ...Show All

  • Visual Basic Status bar clock

    How to display the clock in status bar on form1 of my application Heh, that should be easy enough!! First of all, add your status bar strip from the toolbox, and click the newly created bar, so that vb adds the text ToolStripStatusLabel1. Now leave your strip and add a timer to the form from the toolbox. Under the properties for the timer, set "Enabled" to true and "Interval" to 1. Now, under the timer's tick event, add one of the following codes: If you want the time to be shown as hour:minute, use: ToolStripStatusLabel1.Text = DateTime.Now.Hour.ToString + ":" + DateTime.Now.Minute.ToString If you want the time to be sh ...Show All

  • Visual Studio Question: How does the task to get property from MSBuild file

    Hi Experts,   I had created a task, and I have a question. In my task, how does it get information from MSBuild file. I want to know if MSBuild has the way to make the task can freely get information without by task parameter or by parsing the xml file. Thanks, Hercules Zeng You can't get access to all properties.  Tasks should have well defined input and output parameters that they use.  It analogous to the idea of having parameters on your functions vs. just using global variables to communicate between functions. More details: http://channel9.msdn.com/wiki/default.aspx/MSBuild.PassingInAllPropertiesToATask ...Show All

©2008 Software Development Network