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

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

dunger

Member List

Laxmi Narsimha Rao ORUGANTI MSFT
AntonioP
cjz
JavaBoy
Peter D.252325
Stephen B
DongL
Geokri
Andriy G.
Ralph Egas
VSB
Mark Jewett - MSFT
Jehan Badshah
rockowpb
nanocity
orouit
JohnBeagan
Matt Deane
Pure Krome
R. John
Only Title

dunger's Q&A profile

  • Visual Basic Limits on Memory Use?

    Hi all, I was testing the VB2005 Express and decided to create a large array in the IDE. My 32bit XP Pro machine has 3.5GB available and I thought I'd check to see how much I could use with VB. I understand that there is a 2GB process limit, but I thought I just check that out. My code: Class Form1 Private Sub CreateArrayToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CreateDataTableToolStripMenuItem.Click Dim bigarray(1000000, 250) As Single End Sub Private Sub ExitToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click End End Sub Private Sub Form1_L ...Show All

  • Visual Basic Updating bin/debug and bin/release After Rebuild

    I am developing a VB 2005 windows app. When I make a change and then build the project it does not automaticallu update the stuff in bin/debug and bin/release folders. I can manually copy everything from the project to the bin/debug folder and then hit F5 to test my changes. There must be an option that I have not set properly but I cannot find it. IS there a way to have the debug and release files updated whenever I (re)build the project Thanks. Thanks for the reply ... Project > Properties > Compile > Build Output Path was set to bin\Release\ ... you say it should also be set to bin\Debug ... not sure how to add a second path name ... can I put a semicolon aftger the first and then enter the ...Show All

  • Smart Device Development .NET Compact Framework v2 SP1 Patch for VS 2005 is now available.

    Q. What is that exactly A. This is a patch (as in difference between old version and new one) for NETCF V2 RTM which updates existing NETCF V2 installation to SP1. It is intended for VS 2005 users only. Q: I've copied this patch to my device, but it won't install. Is that because I'm low on storage memory A: No, that's because this patch is for desktop , not for device. Please install it on desktop, do not copy it to device. Patch would update original NETCF MSI (which is also for your desktop) to SP1 and VS would deploy changed NETCF CAB automatically. Q. Is there a difference between updating existing installation with this patch or uninstalling it and installing NETCF V2 SP1 MSI A. Technically no, final result ...Show All

  • .NET Development How can I parse an SQL statement into a canonical form ?

    Is there any class available (either in the framework or external and in that case preferably open source) that can be used to test whether two sql statements are equivalent or not (equivalent regarding irrelevant white space, parentheses, and upper/lowercase for keywords) Basically, what I would like to do is to find a class (below called SqlParser)that I can use like this: string sql1 = SqlParser.getSqlStatementInCanonicalForm("SELECT mycol1 FROM mytable where mycol2=1 and mycol3='abc'"); string sql2 = SqlParser.getSqlStatementInCanonicalForm(" sEleCT mycol1 frOM mytable where ( mycol2 = 1 ) and ( mycol3 = 'abc' ) "); NUnit.Framework.Assert.AreEqual(sql1, sql2); / Tomas Paul P C ...Show All

  • Visual Studio Express Editions programing help

    I am taking a online c++ programing class. Since its online i have no real instructer to help me understand the course. Our finals are due friday and one of the programing problems on it has got me stuck. I would really appreciate it if some one on here would be willing to help me by either giving me pointers in the right direction or making the program for me its not that its hard i just dont have the materials needed to help me figure it out. heres the problem Create a program which will generate a 5x5 matrix of random generated numbers using a muti dimensional array. Your values should range from 1 to 100. You will need to display the array to the screen, then the program will display the max value for each row and th ...Show All

  • Smart Device Development about a schedule like app

    hi all,i want write a schedule like app for sp2003 se, when the scheduled time reached ,the app will notify the user by sound now my question is should i only use a timer or need to write a backgroud service Hi Windows CE already provides a set of API for this purpose. Have a look at the following APIs: CeRunAppAtTime ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/wceui40/html/cerefcerunappattime.asp ) or CeSetUserNotificationEx ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/wceui40/html/cerefCeSetUserNotificationEx.asp ) This forum thread might be of interest to: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=346577&SiteId=1 ...Show All

  • Visual Studio Team System Problems merging branches

    Hello! I have created a Team Project named Main and a folder called Main folder underneath that. I then created another team project called foo that is branched from Main project. Within foo, I created a folder called abc. Now I'm trying to merge foo with main and I get the error message saying "The merge target $/Main is not mapped". I have got the latest versions of both team projects and folders within them into my workspace. Please assist. Thanks! Trying to get latest version/get specific version (with force get of..box checked) on the team projects doesn't map the team project. ...Show All

  • SQL Server Looking for a SQL Database Administrator with working knowledge of SQL Server 2002

    This is a permanent/full-time position based at Simi Valley, CA, 93062 Please see the enclosed job description: Primary Responsibilities Include: This position demands a Microsoft SQL Server Database Administrator in a Production DBA role with a working knowledge of Microsoft Clustering and operating systems . The candidate should be proficient in trouble shooting, performance tuning, replication and backup/recovery strategies. The individual should possess excellent communication, facilitation and negotiation skills. The individual must be comfortable adapting to a rapidly moving client focus and must be adept at multitasking. Knowledge and expertise in SQL high availability and EMC SAN environment is a ...Show All

  • .NET Development XPath query problem

    For ex: i want to get "book1" that has both categoryname='Data' and categoryname='XML'. Not just 'Data' or just 'XML'. i tried following XPath queries but first one returns all the books. The second does not return anything because @categoryname cannot be 'Data' and 'XML' at the same time. How can i query this /books/book/related[@categoryname='Data' or @categoryname='XML']/.. /books/book/related[@categoryname='Data' and @categoryname='XML']/.. <books>   <book name='book1'>        <related categoryname='Data'/>        <related categoryname='XML'/>   </book>   <book name='book2'>        <related ca ...Show All

  • Windows Forms String Collection Editor error: "Constructor on type 'System.String' not found"

    VS 2k5, 2.0.50727. Using a PropertyGrid to try and edit an object that has a collection of strings. I'm trying to get this to work, but I'm having absolutely no luck. There's tons of people who are having the same problem, and most questions are answered with the same solution; however this solution does not work for me. I've created a sample program that replicates the error. To get this error, create a Windows Form app in C#. Add the following class to the project : public sealed class StringCollectionFailure { private StringCollection fail = new StringCollection (); private string name = string . Empty; public string Name { get { return name; } set { name = value ; } } public St ...Show All

  • Visual FoxPro Building as .exe - tray icons doesn't show up

    For my application I use the sys_tray vcx from the solution-directory, delivered with VFP 9. When I run the application as .app or with do main.prg, everything goes well and i see the tray icon appear. But when I build the application as .exe, i don't see a tray icon! In config.fpw i have defined _SCREEN=off, changing this in _SCREEN=on doesn't help also. I think it is a config-problem, but no idea where to look... I also have googled on this problem, but could not find a solution. Thanks in advance! Hi Boland, try to copy your icon file (used for tray icon) to the location of exe file. ...Show All

  • Visual Studio Express Editions TextBox Question

    Is there a way to only allow integers to be entered into a textbox I would think that this would have to be checked after the data is entered. Please advise. yes there is. you can use the keypress event on the textbox then do the checking, if its not a numeric character then handle it. Example: 'textbox keypress event if Char.IsNumber(e.KeyChar) = false then e.Handled = true end if ...Show All

  • Windows Live Developer Forums VE Collection Question

    Hey, I have a question about my VE Collection code... The code I have is below. I was wondering if there was a way to somehow change the code to make it so it loads as soon as the page is loaded (you dont have to click a load button). If you could help that would be great! Thanks   <html>    <head>       <title></title>       <meta http-equiv="Content-Type" content="text/html; charset=utf-8">       <script src="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script>       <script>          var map = null;   & ...Show All

  • Visual Studio 2008 (Pre-release) Validation Rules and Converters - how to refer to a subclass

    Can anyone help me with a quick question I'm creating a Custom TextBox control, by setting up a control template. I want to use Converters and Validation Rules. I have a couple set up and they work well - they're declared in the XAML in this form: <local:SentenceCaseConverter x:Key="SentenceCaseConverter"/> <Binding.ValidationRules> <local:RegexValidationRule Test="test"/> </Binding.ValidationRules> However in my .cs file I've had to set up "SentenceCaseConverter" and "RegexValidationRule" as classes sitting directly in the local: namespace I'm using. What I'd like to do is set them up as sub-classes of my main "CustomTextBox" class, so I can use dat ...Show All

  • Visual C++ about timestamp

    Hello everyone, I need to record a set of data items. For each data item, users may modify to some new content. So, I plan to use a timestamp field for each data item to record the time when user modifies data item last time. I am not sure whether I should use a simple integer value (like version information, which increase 1 each time when user modifies data item) Which approach is better What are the advantages and disadvantages of each approach thanks in advance, George Thank you Alex, Alex Farber wrote: Timestamp is better if you want to sort items by modification time. Do you mean using timestamp is always better Actually, I do not have such requirements. regar ...Show All

©2008 Software Development Network