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

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

Snir

Member List

vatsug
kedens
silverfrost
Forseti
bluefish.com
Harini K P
Vinko
Tomik
rellis32
Peter Sutcliffe
Christina Tabet
Justin0509
xiaomaolover
citykid2
blajano
David Triana
Tomsi
VenkatABC
Zub
James Thornton ITS IV
Only Title

Snir's Q&A profile

  • Visual C# Future C# string optimization directions

    This is a topic of academic interest to me.  Are there any plans to optimize code patterns such as: string results = ...; bool foundSomething = results.ToLower().Contains( "something" ) ) Here, I'm making a case-insensitive search and it seems that ToLower() is an unnecessary use of CPU cycles and memory accesses.  One possible solution, which isn't very extensible, is for ToLower() to do a lazy-copy: it will first make a reference to the input string and add a "use-lower-case" bit.  Contains() uses this bit to do the case-insensitive compare on the original string.  Brian ...Show All

  • Windows Forms Style object

    Is anybody know how to change the style (such as color, font ...) of objects (like button, combo ...) in a centralize area of a Windows application.  I mean, I want to be able to have a functionnaly similar to cssStyleSheet (used in ASP.NET) but in a Windows application. I want to have multiple buttons style (like button with a particular color) and be able to change the style without having to select all the buttons that can be placed into multiple form. I know that I can create control to do that but is there others ways Regards I haven't tried any of these, but check out the control ga ...Show All

  • Visual C++ Simple Simple COM

    Hi! I do all my programing stuff in c#.. but i need some plain C or C++ code sometimes.. and i need to interact classes made from C/C++ to C#. As i heared this is done with COM`s Can anyone show the simpliest COM made in C/C++.. that has a Class named Test and a method int Add(inta, int b); that return the sum of them.. Please make it simplie as possible.. coz i`m not really good at C/C++.. COM things.. I would like to dispel the perception that you need to COM to integrate C/C++ code with C# code. I would wrap your existing C++ (not C) code with C++/CLI instead and bypass all the COM plumbing. The only time you need to use COM in .NET ...Show All

  • Visual C# how to communicating an object from one comp. to an other one?

    I've an OleDbDataReader Object in my app. and I wana communicate this object to an other computer. Is it possible if yes how to While it might be TECHNICALLY feasible to do this -- it would probably help a little if you gave the reason that you need to do this. The only reason I can think of is some kind of proxy type situation [I can communicate with Sql Server X but you can't -- I supply a proxy object so that you can]. More than likely, your best bet would be to do one of two (2) things (1) Just pass the necessary information to the other computer so that it can create its own oledbdatareader (2 ...Show All

  • Visual Studio Team System WebDav supports in Web Test

    Is there a way to simulate WebDav HTTP request in WebTest Different from standard HTTP request (only GET and POST), web dav supports other verb (OPTIONS, PROFIND, and so on). Can I simulate this in Web Test Have you tried to generating a coded web test and setting the method that way. The method property is a string that can be set in a coded test. Try something like the following: WebTestRequest request2 = new WebTestRequest ( "URL" ); request2.Method = "PROPFIND" ; StringHttpBody request2Body = new StringHttpBody (); request2Body.ContentType = "text/xml" ; request2Body.BodySt ...Show All

  • Smart Device Development Debugging and deployment problems on WM5.0

    Hello I have a couple of questions I can't figure out on my own. I've written a program that runs fine when I use the PocketPc 2003 emulator. It also builds for smartphone 2003 and both smartphone/pocketpc WM5.0. The problem is that it doesn't run on other emulators than the pocketpc2003. When trying to run any of the other versions I get: Data Abort: Thread=9798b6a0 Proc=80fc7010 'PhotoEditor.exe' AKY=00008001 PC=000988cc(PhotoEditor.exe+0x000888cc) RA=00098a1c(PhotoEditor.exe+0x00088a1c) BVA=10c110a5 FSR=00000405 RaiseException: Thread=9798b6a0 Proc=80fc7010 'PhotoEditor.exe' My second issue is this. I have a qtek 8310 as my target device ...Show All

  • Visual Basic Access or SQL Which one is better

    Hi I'm wondering, which one would be better, i'm creating 2 medical programs, that are going to be running on a local machine, I Use visual Basic 2005 express and don't know if I should develop with access or SQL 2005 express. Which one is better and faster Any suggestions or comments will come in handy. PS. Future versions might have network connections, like for a secretary or interoffice connections. So should i work on access or SQL express SQLE is *better* in that it does more. The real question is, which is the appropriate tool fo hte job. If you expect to run the database on a seperate ma ...Show All

  • Microsoft ISV Community Center Forums ftp using vba

    I hope I am posting this to the right place. I am trying to do a save as to an ftp location. The following works ....but... I have to establish the ftp connect each time the computer is started, So somehow I need to establish the Initial ftp connection within the code.. And once the save as is done I need the ftp connection to be stoped so that it does not remain open In short the need is to open an ftp location save the file to the location and then close the connection. Any help is greatly appriciated Randy Sub SUBMIT() ' ' SUBMIT Macro ' Macro recorded 12/27/2005 by w.r ' ' Application.DisplayAlerts = False Applicatio ...Show All

  • .NET Development .NET Runtime 2.0 Error Reporting

    Hi, My application is running on 65 PC. After a few hours, this applications crash on 2-3 PC. I get no exception in my log files. I set the Application.ThreadException and AppDomain.CurrentDomain.UnhandledException exception event handlers. The last one is triggered with 'System.NullReferenceException: Object reference not set to an instance of an object.' but there is no stack trace available. I got no dump file, no popup window. I only get the following entry in the event log : Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 1000 Date: 13/05/2006 Time: 21:53:39 User: N/A Computer ...Show All

  • Smart Device Development Database @ client

    Hi We are trying to develop a smart client application which is occasionaly connected. The issue here is we are unable to decide on the database which needs to be used in the client. We will not able to use MSSQL express or MSDE becuase of the size limitation. The size of the DB is actually a couple of gigs(SQL server backup). The user need not do any transaction which needs to be re recorded in server. The user will connect only to donwload data and get the application updates. The other important factor the user should have high performance of the applciation. Please suggest Regards Harish ...Show All

  • Visual Studio Team System The node specified is not found in the classificaiton hierarchy

    Using Beta 3. Used CMMI template to create new team project. Opened up "Areas and Iterations" windows for new project. Deleted Iteration 1 and 2 nodes. Renamed Iteration 0 node to 3.0.0. Tried to run "All Work Items" query and recieved this error: TF51011: The node specified is not found in the classification hierarchy. Is this a known bug For everyone falling into this problem, this command solved problem for me: witfields rebuildcache /s:<servername>:<port> This command will rebuild the cache on each client the next time they connect to the Team Foundation Server. To avoid server performance issues, you sho ...Show All

  • Visual C# C# & Lotus Notes

    Hello Everyone, I'm writing a web project in PL/SQL, from there I like to send meeting requests to people. The Users are on Lotus Notes.... I will like to write a C# Service, which collects the data from Oracle Database and send the meeting request to Lotus Notes..... The C# Service should be something, when there is a change in the table it just sends the requests out and listen if the User accepted the meeting or declined and send the response back....... Someone has any ideas, solutions how this can be done........ Thanks, Harsimrat ...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

  • Windows Forms Why is VS 2003 Designer Mode so slow in loading some forms?

    On my forms with many (50+) controls it takes many MINUTES to load the form in designer view. The problem is magnified with forms using UserControl derived formss. I'm using a more than adquate system too. Is there a fix or a workaround to address this or at least improve it because it really hinders rapid development when you have to wait minutes each time the designer needs to be re-loaded, which is basically every time the header file is modified. Thank you for any advice! (i am using managed c++) I'm having this same problem, and it's making those of us at the office who do use .NET to pu ...Show All

  • SQL Server Error while importing Text file using Import Export Wizard

    Hi all i have text file where i can import it to excel to access or sql2000 without problem but when i import it using (sql2005 pro) i get this error message during the import O peration stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Success) - Prepare for Execute (Success) - Pre-execute (Success) Messages Information 0x402090dc: Data Flow Task: The processing of file "C:\Documents and Settings\Wail\Desktop\All_Alarm5.txt" has started. (SQL S ...Show All

©2008 Software Development Network