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

Software Development Network >> Arun S's Q&A profile

Arun S

Member List

EGShaw
BeguiledFoil
Seiggy
David Hubbard
adorer
UniRyan
Arnaud MIGEON
Sanje2v
rpreston
ricc
Olivier .NET
TusharSinha
Winson
Toe
dickP
redneon
CPS
Greenstrike
Dan Cremer
Pipz
Only Title

Arun S's Q&A profile

  • Visual Studio 2008 (Pre-release) Button Events

    Newbie question If if place a button on a window how can I set the mouse click event. I thought I could just click on the button like a normal Winform application and add the event code. Here is how I get by for now. Thanks, Rob Relyea Program Manager, WPF Team http://rrelyea.spaces.live.com ...Show All

  • Visual C++ self-made hashtable extremely slow compiled with VC2005

    Hi, I have a problem, and at the point I'm clueless what to do. The problem is, my app becomes extremely slow when compiled with VC2005. Application runs in half hour when compiled with VC6 or VC7, but now, compiled with VC8 it seems to take several days. I'm having this homebrew hashtable implementatation because of portablility reasons, whose probes seems to consume most of the cpu -time according to profiler. It takes 40% of cpu, while normally its something like 1%. But because whole execution time jumps several hundred percents, this alonr doesn't explain it all. And weird enough, simple little timer app I made to test the hashtable runs just fine. I'd be happy to stick with VC7, but I need to have 64bits becouse of memory consumptio ...Show All

  • SQL Server SQL 2005 User database Properties - No row at position 0

    Hi, I seem to be having an issue with our SQL 2005 x64.  When I go to the properties of the any database on a server I get: TITLE: Microsoft SQL Server Management Studio ------------------------------ Cannot show requested dialog. ------------------------------ ADDITIONAL INFORMATION: Cannot show requested dialog. (SqlMgmt) ------------------------------ There is no row at position 0. (System.Data)   And when I try to shrink the database I get: TITLE: Microsoft SQL Server Management Studio ------------------------------ Cannot show requested dialog. ------------------------------ ADDITIONAL INFORMATION: Cannot show requested dialog. (SqlMgmt) ------------------------------ There ...Show All

  • .NET Development Determining Null Values

    Hi, I'm currently working with a program accessing an oracle database. After querying, i display the results in a listview lvTest. Is there a way where i can determine if the returned value of the query is null Thanks. Dave. Dave, But it does not identify if values are NULLs., as you asked in your question. It identifies if you have any result back from the server. It is completely different idea ...Show All

  • Visual Studio Express Editions Problem with C#

    Is it possible to create a DLL using C# that can be declared and run in FOXPRO: I am using the following C# code to create TESTCODE.DLL : using System; using System.Collections.Generic; using System.Text; using System.IO; class DirectoryLister { public static void Main( string [] args) { int i = 0; String FILE_NAME = "C:/Test.txt" ; String path; String name; name = " " ; int j = args.Length; Console .WriteLine( "HIT SPOT A " + j.ToString()); if (args.Length > 1) { Console .WriteLine( "HIT SPOT B" ); Console .WriteLine(args[0]); Console .WriteLine(args[1]); if ( Directory .Exists(args[0])) { ...Show All

  • Visual C# Properties.Settings.Default.Save(); does not save a user.config file.

    I have settings that are in the user scope and I can update them at runtime. When I call the save method,nothing gets saved. Any ideas Why won't this work double dou = OneWireLearning.Properties.Settings.Default.ccwLargeA; OneWireLearning.Properties.Settings.Default.cwLargeA = 9.876543; double dou2 = OneWireLearning.Properties.Settings.Default.cwLargeA; OneWireLearning.Properties.Settings.Default.Save(); The value of cwLargeA is 9.876543 during runtime, but after closing the program and checking the settings file, it's back to it default value. Anyone see the problem Thanks ...Show All

  • Visual Studio Express Editions Fixing Form size

    VC++ 2005 Express I'd like to fix the size of a form so that it cannot be resized. I set the property "Locked" to "true" but that did not seem to make a difference, even though I understand that it should have. Is there another property to set Thanks. Thomas Thanks. Setting it in the designer worked. I swear I had looked there before and did not see that parameter. Kind of related, how do I respond to events such as loss of focus and then regain of focus requiring a repaint of the form I have a form that involves some long calculations. When it loses focus and then regains focus it is blank until it emerges from the calculation loop. Thanks again for your help. T ...Show All

  • Visual C++ "make depend" from .NET gui ?

    Hi, I build from gui (F5). My foo.cpp depends on foo.h which depends on bar.h. I modify bar.h and VC++.NET doesn't rebuild foo.cpp (actually received from updated file from source control through ClearCase) This sounds like a newbie question but no-one can answer around me, and I can't believe there is no replacement to traditional "make depend" that unix users trust. How to change default behaviour to force .NET to "detect" dependencies in include statements and build accurately projects (instead of rebuilding all everytime of course) Thanks, J-Paul Gabrielli Maybe your problem is caused by incorrect include sequence like this: #include "foo.h" #i ...Show All

  • Visual Studio Catastrophic Failu Visual Studio Crashing like crazy!!! WHAT IS GOING ON!!!

    I reinstalled my whole damn operating system thinking that I had broken visual studio somehow... it turns out that was a collosal waste of time... I have a fresh clean windows xp pro sp2 install, and a clean Visual Studio Professional... and whenever I add a dataset to a project, and right-click the designer and hit "View Code", I get this horrifying error: Failed to view the validation code because of the following error: Catastrophic failure (Exception from HRESULT: 0x80000FFFF (E_UNEXPECTED) and it gives me a blank document. If I click the button to Save All open documents, the whole damn program just crashes!! I've submitted the error reports, but that's not going to help me fix the problem... what is goi ...Show All

  • SQL Server A database with the same name exists, or specified file cannot be opened, or it is located on UNC share

    I didn't get this bug In the debug mode when the application runs on localhost with some port number I am getting this error only when the application is deployed on default web site i.e is on localhost Can any body help me to solve this bug ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Drawing a primitive without a texture

    I am trying to draw a masking square in front of my application's display. The display uses VertexPositionTexture format vertexes. I was hoping to draw the square using a VertexPositionColor vertex, but it looks like Vertex types cannot be mixed on a single device. While I can create a single-color texture in code and throw it on the square, it looks pretty bad when it expands. A very noticable ring appears around the edges. Without a texture, it will not draw while TextureEnabled is set to true. Is there a means to draw a primitive without a texture when using VertexPositionTexture Whenever you want to render a primitive with another type of Vertex Format/Declaration you will need to set the vertex ...Show All

  • SQL Server Failed to Open Rowset Error in Crystal Reports

    hello all, i have developed a desktop application(software) inwhich used Crystal Reports 9. I am using Microsoft Developement Environment 2003 (Visual Studio 2003).The reports in this software runs well on my own system where i developed the software but when I install this software on the computer(client computer), the report does not open when the Generate Report button is clicked. This button click event fills the data using a simple query from databse(SQL Server 2000) and this error is displayed: Failed to open Rowset. The .Net Framework 1.1 is installed on the client computer before the software is installed and run. I also include some merge modules in the setup of the project that I make. These merge modules are: Crys ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Should R16F format work for Texture2D?

    I've created a R16F format DDS, without MIP maps, using the NVIDIA Photoshop plug-in. The Texture importer can import it, and the Texture processor ("mipmapped" plain) can process it. However, when I call Load<Texture2D>("myname") I get an invalid call exception. Which formats are expected to work If I change the format to R32F, it works. Ideally, I'd like to use L16, but I can't get NVIDIA nor the DirectX SDK plugins to actually save that out. Well Jon, like with DirectX you still should check if a format is supported from the hardware. R16F is not widely supported. ...Show All

  • Smart Device Development Deploying CF Project to run using Full Framework for Desktop

    Hi everyone, I currently have a CF project in VS2005, but I would like to know how to change the project to target the full .NET Framework instead. My goal is to have my CF app run on the desktop. I have searched for similar questions, and somebody mentioned that a Deploy to Desktop feature was in the VS2005 Betas but was removed for RTM. Supposedly the feature is slated to reappear in the VS2005 SP1, but I couldn't find it in the latest Beta of SP1. Does anybody have any suggestions Thanks! Kirupa You can run NETCF executables on desktop as is unless particular executable uses any NETCF specific classes or P/Invokes CE specific DLL(s). Attempt to run such application on desktop would result in TypeLoadException since NETCF ...Show All

  • SQL Server Need to prevent database assembly creation

    On certain servers, I don't want developers to be able to create assemblies. Unfortunately, the command sp_configure 'clr enabled', 0 only prevents the CLR-type from being executed, not its creation . I am unable to rename nor put triggers on sys.assemblies, sys.assembly_modules, sys.assembly_files, and sys.assembly_references . I would prefer the user know the boundaries well before implementation. Has anyone succeeded at this Thanks, that helped quite a bit! CREATE TRIGGER trg_CLR_Alert ON DATABASE FOR CREATE_ASSEMBLY, ALTER_ASSEMBLY AS   BEGIN     PRINT 'Assembly implementation is not supported on this machine.'     ROLLBACK   END I will p ...Show All

©2008 Software Development Network