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

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

kart

Member List

RGravity
Jeremy Jarrell
Erik BN
ChristopherN
Dirk Haest
asdfj
stevdes
Auris
andien_geo
imin83
jchohio
Alex cai
GenesisX
trun_gup
Catalin Zima
clint 2
Andr&#233&#59; Dias
WKeown
ReneeC
harcrow
Only Title

kart's Q&A profile

  • Smart Device Development Suddenly get "sql server does not exist or access denied" after connected for ages.

    Hi all, I'm developing a PDA app using the compact framework. It connects to a SQL server 2000 database calling stored procedures to read data and update it etc.. It all works absolutely fine for 10 minutes or so - reading and writing lots of data. Then all at once I get the error "sql server does not exist or access denied". In my error handler I try to reconnect - but it seems once this error has happened it's not possible to reconnect. I don't know whether it makes a difference but the PDA is connecting to a database on my machine via a USB connection and the ActiveSync (the very latest version) program. Any ideas would be much appreciated. Are you running into this issue consistently (Connects an ...Show All

  • .NET Development Opening file for reading and writing

    I'm building an application that logs data continuously to a file. However, periodically I want to search the log and read data from a specific point in the file, while allowing the log to be continually updated. Can I do this without closing the file How do I go about this Many thanks, Michael When you open the file for writing you should be sure to set the share access to read to allow others to open the file for reading only. To set the sharing information you'll end up needing to use FileStream which allows you to specifyi the share rights. Some other methods might let you specify the sharing flag as well but you'll have to look in MSDN for that information. Michael Taylor - 1/11/07 http:/ ...Show All

  • Visual Studio Team System MS Project stops leveling after getting of TFS work items

    Hi, Here is my problem synopsis: Create a simple project with 3 task: Task 1, Task 2 and Task 3 Assign same resource to all tasks Switch to Automatic resource leveling (all 3 tasks are nicely leveled) Connect to TFS and get 2 work items. Note: work items are being added to the end of the project regardless the cursor location (does it make any sense to somebody ) Make work item task as a subtasks of Task 2 At this point depending the above scenario variations (e.g. you’ve imported work items one-by-one, changed assignments, etc.) you may see a MS Project 2003 works totally wrong: a) leveling is not working: change of assignments has no effect on a project plan b) super-ta ...Show All

  • Visual Studio 2008 (Pre-release) Frame.set_Source throws NullReferenceException in RC1

    This happens (consistently, although some URLs seem to be effected more than others) after I opened and closed at least one Window containing a Frame. Each of these windows is created on a separate (STA) thread so that my main UI remains responsive. The Uri that I pass is definitely not null, I suspect that this is some kind of threading issue with the Frame control. After the issue occurs for the first time, it same issue occurs everytime I set the Source property on a Frame, so basically the process can't display any web pages anymore. This is the call stack: System.NullReferenceException occurred Message="Object reference not set to an instance of an object." Source="WindowsBase" StackTrace: at MS.Win3 ...Show All

  • .NET Development Visual Studio 2003.net Databases Connection not working

    I am using Visual Studio 2003.net and trying to get connected to SQL 2005. Is this even possible to do and if not what is the best way to connect to a database with Visual Basic 2003.net. Before I was able to make a connection with VB 2005 express edition and SQL 2005 express edition but this is seeming to be a “no way hosa” kind of thing. . HI, I've read in your past post that you are using Visual Studio 2003. I think its not possible to connect to an instance of SqlServer 2005 Express through VS2003 (since you cannot also use enterprise manager to do this). If you want to edit your database its better to use the Management tool specially for SQLExpress. You can download the MAnagement Studio f ...Show All

  • Visual C++ wating progressbar

    how can i create a wating progress bar or busy progress bar where the progressbar dont now when the work will finshe in mfc c++ do i need to use the CProgressCtrl or another way thanks fst thanks  but how can i use this style i have the manifrest i the style of XP and i am using the  comctl32 version 6.0  but how can i use thos style do i need to any thing else my code is m_Progress . CreateEx ( WS_EX_APPWINDOW | WS_EX_CLIENTEDGE | WS_EX_CONTROLPARENT , WS_VISIBLE | WS_CHILD | PBS_SMOOTH , rect , this , IDC_PROGRESS1 ); m_Progress . SetRange ( 0 , 100 ); m_Progress . SendMessage ( PBM_SETBARCOLOR , 0 , RGB ( 255 , 0 , 0 ));   thanks ...Show All

  • Visual Studio Team System TFS, Project Server integrations...

    Hello, We are starting off a new project and I was wondering if there is a way to integrate TFS and Project Server. ok so here's my wish list: 1. I have a MPP plan, which has a detailed WBS. I need to track actual and estimated effort. 2. A simple way to do this is to upload the same in Project Server and then log hours against it. 3. However, we are using TFS Work Items for all the other stuff. Is there a way to load TFS with my MPP so that the WBS get loaded as Tasks in TFS and then use these tasks from TFS in Project Server to track actuals In case I have not confused you, can we have a marriage of the 3 products Thanks, Satya I'm not sure what "WBS" is, but you can use the ...Show All

  • SQL Server Setup replication job in cluster2005 failed with unknown user name or bad password

    Hi all, I am setting up the replication with the scripts which used to setup in MSSQL2005 (non-cluster server). After I run the script and start the snapshot agent, log agent or distributed agent, it prompts, Unable to start execution of step 2 (reason: Error authenticating proxy abc.com\admin9, system error: Logon failure: unknown user name or bad password.). The step failed. abc.com\admin9 is the administrator for all cluster, mssql service and I am sure that the username and password is correct. Any advise Thanks in advance. Is abc.com\sqmin9 in sysadmin/dbowner role for SQL server On SQL 2005, I believe you need to add this account into the global domain group you specified during SQL installation. Otherw ...Show All

  • Visual C++ WMI + Windows Services?

    Dear everyone, So. I'm quite new to programming and even more so to C++/Visual C++/Windows programming in general. I come from an *nix background, so bear with me. Because I'm really bored, I started playing around with Visual Studio 2005. What I'm trying to do is create a Windows Service that will monitor the CPU and memory usage and send a structrure back to a client when requested. It should be running perpetually, unless the user stops it or the computer shuts down, naturally. Now, I've already created the server as an usual application, and it works perfectly. I'm trying to convert it into a service, as it would be better for my project as a whole. I used the template to create a service (using C++), which is fine. I tweaked the prope ...Show All

  • Visual Studio 2008 (Pre-release) how can i switch off the default design mode

    hi, everytime i open an xaml file in cider, vs tries to display it in design mode.  this is annoying since it takes quite a lot of time until the design is displayed or i get the "whoops" error message. can the i change the default view mode of xaml files to edit mode thanks, bkohler  chad, thanks for the hint. unfortunately when i set the XMLEditor as defualt editor, the tabs on bottom to switch back to cider-, or code-mode disappear. bkohler ...Show All

  • Visual Studio Express Editions Need Help With Word Randomization

    I am writing a hangman project for school, and I need help with the word randomization part of it. I don't understand where the coding would go and what it would be. Babafaguchi, The random number generation starts from a seed value. If the same seed is used repeatedly, the same series of numbers is generated. One way to produce different sequences is to make the seed value time-dependent, thereby producing a different series with each new instance of Random. To improve performance, create one Random to generate many random numbers over time, instead of repeatedly creating a new Random to generate one random number. The following code example creates Random objects with different overloads of the ...Show All

  • Visual Studio 2008 (Pre-release) wsHttpBinding: CreateService error reading IIS metabase SSL settings

    I switched from basicHttpBinding that worked to wsHttpBinding on my WCF service to improve security. Now I get this error on our test machine; which IIS web-app setting is missing : [ArgumentNullException: Value cannot be null. Parameter name: key] System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) +41 System.Collections.Generic.Dictionary`2.FindEntry(TKey key) +2634585 System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value) +14 System.ServiceModel.Activation.MetabaseSettingsIis.GetTransportSettings(String virtualPath) +58 System.ServiceModel.Activation.MetabaseSettingsIis.GetAccessSslFlags(String virtualPath) +4 System.ServiceModel.Activation.HttpHostedTransportConfiguration.GetBaseAdd ...Show All

  • Visual Studio Install of Visual Studio 2005

    I have the CD's to install Visual Studio 2005 and there is no issue installing the software (it installs and operates correctly) - however I work in a College environment and require to install the software on a large number of PC's (+40). I am currently installing the software by placing the CD's in the drive and going through the setup, this is very time consuming as it takes approx 40mins per PC. Is there a more efficient way of carrying out the installation of the software - there are 5 discs to install (2 setup discs and 3 MSDN library discs). Any help or useful links would be appreciated. remember you need the license to install on several computers I believe there is no other way th ...Show All

  • Visual C++ How to read the Link Error message?

    Hello all: I find it is quite hard to understand the Link Error(I use VS. Net 2005 Professional). If I include the following operator member function in the file "Triangle.cpp" rather than in the file "Triangle.h". inline bool Triangle::operator==(const Triangle &rhs) const { return (_length == rhs._length) && (_begin_pos == rhs._begin_pos); } Then call it by using the following statements: Triangle t4(1, 2); // initialize _length as 1 and _begin_pos as 2 Triangle t5(1, 2); if (t4 == t5) cout << "equal " << endl; else cout << "not equal " << endl; I will get the following build errors: ------ Build started: Project: TestOne, Configuration: Debug W ...Show All

  • Windows Forms Form to Form Interation

    Hey All In the application I'm creating, I have a button on a Form which loads an instance of another form (note that they aren't MDI Parent-Child). The second form has a series of buttons within it. I want to have it so that when a button is pressed in the second form, it appends some text to a textbox in the original form. How would I go about doing this Thanks So are you just trying to implement a 'Colour Picker' dialog If so, have a look at the following article which is a really nice solution http://www.codeproject.com/cs/miscctrl/MultiTabColorPicker.asp This uses a 'Colour Selected' event, which is a much more graceful way of handling the situation. If you want to go on the way you have, you could pass in ...Show All

©2008 Software Development Network