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

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

CaRNaGe_46038

Member List

Kamil Janiszewski
cbtm
John Bailey
lympanda
Thibaud
teterin
eldiener
Rraj
voevoda
Snip
GR101
amendez
Rupert Rawnsley
CFleming
nate-d-o-double-g
Broken
Scott McKeown
chakravarthy_b
Cezar Felipe
Sylpheed
Only Title

CaRNaGe_46038's Q&A profile

  • Visual FoxPro Proper Practice: Running a report without disturbing data

    I have created a class which contains a textbox to display an order#. I usually drop this class in a grid. The double click of the textbox does something like this: select tmpCpo go top set relation to cpono into cpo select cpo set relation to acct into Customer select tmpCpo report form cpo01 preview How should I prevent disturbance to the current data 'status' when the user dblclicks on the instantiated object Basically I would like to restore my environment to what is was before the user initiated the report. In the old 2.6 world this would be a hassle so I was wondering if new tools like the session class should be used in VFP9 in order to achieve this... Thanks you all. ...Show All

  • Windows Forms One more TIFF question

    As long as i am being bothersome to everybody with TIFF questions, I was wondering if anyone has ever seen any code or docs which show the way as regards using extended tiff editing features. (If you haven't tried it, save a bitmap as a .tif file and open it with Windows Fax and Image Viewer (not sure that's the correct name of the default picture view with Windows XP, anyway, the shell program (originally by Kodak, i think) which a fresh out of the box system opens images with). Note the really cool set of extra 'features' that show up on the tool bar -- different kinds of "annotations" and diagramatic elements tthat can be placed on the image which do not become an intrinsic part of the image when it is saved (they must be data ...Show All

  • Gadgets Sidebar and Aero

    Hi, What's the relationship between Sidebar and Aero For example when Aero is off (automatically or manually) then sidebar will be turn off as well And vice versa Thanks. As to not degrade system performance, Sidebar is turned off by default on systems with 512Mb of memory or less . You can always run it on manually: Start, All Programs, Accessories, Windows Sidebar. You can then right cick on Sidebar and choose Properties and check Start Sidebar when Windows Starts. ...Show All

  • SQL Server I need some help with update query

    I have a select statement like select table1.field1, table2.field2, table 3.field3 from table1.inner join table1.field1 on table2.field2 --- some more joins inner join(derived table ----) as newtable on some field.where ( this) and (this)I need this query to do the same thing, but I need to update the same tables and fields.I can find simple examples of inner joins but I cant piece together how to this.Can anyone just give me a basic outline of how an update would look would I do likeupdate table1inner join table2.field1 on table1.field1 inner join table3 on table1then set table2.field1=@var1... more sets I actually figured this out, but I guess there is no way to update multiple tables in 1 update query Wh ...Show All

  • Visual C# ListView questions

    Greetings, I have a few questions with regards to ListViews: 1) Is there any way to make the individual items displayed in a ListView control non-selectable By this I mean is there any way of producing the same effect as if the ListItems have an enabled property. I need to display a whole bunch of items but not all of them must be selectable. I am using .NET 2.0 and am using a virtual ListView. 2) Another way of doing this would be if I could somehow group the items. And have a heading for each group. Is this possible If so can I use this method if I am using a virtual ListView. 3) Where can I obtain a decent example on how to implement a correctly function OwnerDraw ListView I spent a good few hours yesterday trying to impleme ...Show All

  • Visual C# Unhandled exception only when running in release without debugger attached.

    I am beyond baffled by this. My application throws a System.AccessViolationException only when it is run in Release mode without the debugger attached (as in, I run the exe directly, outside of Visual Studio or I do "Start Without Debugging" in the Debug menu). Debug mode - everything works great; Release mode with debugger attached - everything works great. The very nature of how this error is thrown makes it impossible to debug, so I have no idea where to look into correcting it. Has anyone else ever come across such an error Does anyone have an idea how to hunt down such an error The application is not just a few hundred lines, it is easily on the upper end of tens of thousands of lines. I cannot seek it out with a debugger be ...Show All

  • Smart Device Development Does ListBox control support Multiple Selection?

    Hi: I am using .Net Compact Framework 2.0 in C#. The document below gave me the impression that ListBox control does support Multiple Seleciton since it did mention .Net CF 2.0 in the version supported: http://windowssdk.msdn.microsoft.com/en-us/library/system.windows.forms.listbox.aspx However, the "SelectionMode" as mentioned in the document is not available with the control. I am confused Please help. Josephine Multiple selection is not supported by the .NETCF control. The .NET v2.0 version of the document you describe does indicate that these properties are not supported by the control under .NETCF. http://msdn2.microsoft.com/en-us/library/system.windows.forms.listbox_membe ...Show All

  • Visual Studio How to enumerate all the project files in a IVsProject?

    I'm currently implementing a VSIP package for VS2005 that maintains some information for each source files in a solution. How can I enumerate all project files in a IVsProject using VSIP I do not want to use Extensibility objects for that. Thank you. Hi Mishazh, This can be done in a number of ways, but given you don't seem to want to use the EnvDTE automation model, you can use IVsHierarchy.EnumHierarchyItems. There is a sample package in the Visual Studio SDK, that does just this. It's the SolutionHierarchyTraversal sample. Sincerely, ...Show All

  • Windows Forms Form style/control

    How can i do something like this: http://img7.imagevenue.com/img.php image=29013_control_122_442lo.jpg Group information with option do retract and expand items. Thanks Hi, please go through the following thread. hope this helps. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=310839&SiteID=1 thank you, bhanu. ...Show All

  • .NET Development Temp tables in Stored Procedure

    I am trying to display the output of a stored procedure in Excel using VSTO. My SP has 3 temporary tables (#TempA,#TempB, #TempC) and then I am joing them together, also I am not passing any paramenters. First I create a datasource and select the object that I want to display. In this case I select my SP (the one that has temp tables) and if I try to preview the data in the table adapter but I get the following error message: <CollectionsV2.dbo.rptGetCollector> Invalid object name '#TempA'. Any idea why this is happening Thank you Hi ITGirl Even though you're working in a VSTO solution, accessing the data, filling a dataset and working with a data table are part of ADO.NET. Therefore, I'm moving your qu ...Show All

  • Visual Basic Is random access possible with My.Computer.FileSystem?

    I have a dotNet 2003 VB program that uses random access files, as in: FileOpen(FNum, FName, OpenMode.Random, OpenAccess.Read, OpenShare.Shared, Len(FRec)) After converting this program to VS dotNet 2005, I see several notes in the MSDN documentation and in the conversion log that say that My.Computer.FileSystem offers better performance than FileOpen, but I don't see a random access example, and I don't see My.Computer.FileSystem methods that correspond to all the older functions. Is random access possible with My.Computer.FileSystem If so, will someone share an example that reads and writes to a random access file with My.Computer.FileSystem TIA I don't see any methofs to do that. I ...Show All

  • Software Development for Windows Vista About switch user

    Hi ! I just want to display a comfirmation box when i click on switchuser saying "Do u really wanna switchuser Yes No",is yes.....itz done normally...if no..i do nothing...(like Esc button) can any one help me in this issue..using vc++ win32 API's..... Thnx in advance... SIVA ...Show All

  • Audio and Video Development VK_ESC not working in iHDSim?

    The readme indicates the VK_ESC/Cancel maps to Esc on the keyboard. However I cannot get that to recgonize in the iHDSim. Am I misunderstanding something Thanks. No, you don't have to do anything. if you look at the code for input gesture handling, you'll see that ENTER activates the focused item, and ESC removes focus from the focused item. Just like LEFT moves left and UP moves up, etc. See page VI7-19 for details ...Show All

  • Visual Basic Application Settings and ArrayList

    I want to save some settings as an array in the application settings so I've created an application settings has a name Test and a type system.collections.arraylist I've used this code to save the settings to the application settings arraylist If Trim(TextBox1.Text) <> String .Empty Then My .Settings.Test.Add(TextBox1.Text) My .Settings.Save() End If but I've got an error Object reference not set to an instance of an object. when I execute the code ofcorse at the first run of the program the arraylist has no items in it can any one help me thank you all String and Integer are known as "value types" and they don't require initialization ...Show All

  • Visual C# Mysql with c#

    Hi.. friends. I'M with a problem in my variable. See this code. public static void Insert_SQL( string nick, string email, string nome, string datanasc, string ruaenumero, string bairro, string cidade, string cep, string pais, string sexo, string estado, string home_page) { string table = "clientes"; MySqlCommand com = new MySqlCommand(); try { com.Connection = Conexao_mysql(); com.CommandText = "INSERT INTO " + table + " (nick,email,nome,datanasc,ruaenumero,bairro,cidade,cep,pais,sexo,estado,home_page) VALUES ('nick', 'email', 'nome', 'datanasc', 'ruaenumero', 'bairro', 'cidade', 'cep', 'pais', 'sexo', 'estado', 'home_page')"; com.E ...Show All

©2008 Software Development Network