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

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

Krodinjw

Member List

jessj
deepticr
robbrianius
Craig Roffers
lazy j
Vibhore Goyal
Giedrius Banaitis
MidNightQc
Dinesh Patel
Sankar2000
umler
Tom Kane
Daniel Dosen: XML Commerce
Sneha
dhaval vyas
wskyo
vlad b
wsr429
Jens K. Suessmeyer
Dror
Only Title

Krodinjw's Q&A profile

  • .NET Development connection string + webservice

    Hello, I am trying to make a connection to my SQL2005 database through webservice. For some reason it doesn’t work. Here is the code. I would appreciate it if somebody could help me with this. [ WebMethod ] public bool TestConnection() { OleDbConnection conn = new OleDbConnection (); conn.ConnectionString = @"Provider=SQLOLEDB;Data Source=.\SQLEXPRESS;AttachDbFilename=C:\SQL Server 2000 Sample Databases\NORTHWND.MDF;Integrated Security=True;Connect Timeout=30;User Instance=True" ; try { conn.Open(); conn.Close(); return true ; ...Show All

  • Visual Studio Team System Problem with MS Project plugin

    Hi, I'm having a problem with VSTS MS Project plugin when it is connected to Project Server. Every time I select "Publish new and changed assignments" it says that I removed resources from tasks and asks to publish the cancellation even thought I didn't!!! This started to happen when I wired together a team project and a Project Server project. I am using MS Project 2003 SP2, Project Server SP2, VS Team Suite / Team Foundation Server RTM. I made quite an extensive research of this problem on the Internet but with no result :( Can anyone out there give me a hand with this or at least a direction on what to check Se ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Resource management

    I was wondering how much difference improving my resource management would make to my applications performance. I use a lot of Sprite animations in my game, that use D3DXSprite. With the animations I know that once I have displayed a frame that image won't be needed again for a while and also know which texture I will want for the next frame. So I wondered how much difference it would make to performance if I wrote a system that would Lower the Priority level of used frames and PreLoad frames that I knew were going to be used in the next frames. Also, if I have displayed a texture frame is there a way to evict that texture from memory Can a ...Show All

  • Visual Studio Team System Not sure how to approach this

    Hi, all. I am writing a custom validation rule to validate certain fields in a data grid. I was trying to use the collection of tags in the response to parse it to get the value in the grid field. So, I started from grabbing all the tags. But my grid data looks as following: <td>value</td>. I guess I can only get the tag attributes taking this approach. Can you recommend me how to get the element value by parsing the HTML response Please let me know if I am not clear in my explanation or if you need more details. Thank you. Check out this post which is asking a similar question: ...Show All

  • Visual Basic Managing data operations from a DB.

    Hi everyone! Hope you can help me. This is my situation: I’ve already made the connection with a DB in Visual Basic Express. At this point I can display data with a simple SELECT query. My problem is that I want to make other kind of queries (SUM, AVG) and then I would like to put the result in a ListBox or something similar. I’ve tried at the properties control with DataBindings and it works in the QueryPreview, but it doesn't when I run the application. What am I doing wrong Am I missing some procedure Believe me, I’ve spent a lot of time trying to solve this and I FEEL STUPID! Any help will be thankfulfulful :) :) :) Hi Ya ...Show All

  • Windows Forms How to access PageSettings in User.Config

    I am trying to make my app "remember" the last PageSettings and figured that the User.Config file is the proper place to store them. The file seems to be writing OK, but when I access the user setting it always returns "null". Strings stored in the same User.Config file can be accessed without a problem. What am I missing My code is: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Printing; using System.Text; using System.Configuration; using WindowsApplication10.Properties; using System.Windows.F ...Show All

  • Visual Studio Team System Team project creation failing with following error

    Hi there,    I'm trying to create Team project in VSTS beta3, but i'm getting the below error. Error TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.WorkItemTracking plug-in. Explanation TF30171: The Microsoft.ProjectCreationWizard.WorkItemTracking plug-in used to create the new team project could not be initialized and returned the following error: TF26173: Team Foundation could not connect to the application tier. Check that you have a network connection and that the Team Foundation Server is available. If the problem persists, contact your Tea ...Show All

  • Visual Studio Express Editions Printing a form

    After following the code found here   to print a Windows Form I now have this Dim memoryImage As Bitmap Private Sub CaptureScreen() Dim myGraphics As Graphics = Me .CreateGraphics() Dim s As Size = Me .Size memoryImage = New Bitmap(s.Width, s.Height, myGraphics) Dim memoryGraphics As Graphics = Graphics.FromImage(memoryImage) memoryGraphics.CopyFromScreen( Me .Location.X, Me .Location.Y, 0, 0, s) End Sub Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click CaptureScreen() PrintDocument1.Print() End Sub Private Sub ...Show All

  • Visual FoxPro Calling a report with a command button on a form

    I'm trying to call/open a report with a command button that resides on a form.  How can I do this   I'm new to VFP & I've searched the help file but found nothing. As Andy said, you can set it up in a startup program. That is a better option than hard-coding it in a Config.FPW How do you set up a startup program Create a simple text file called CONFIG.FPW (if you have one already just modify it). Add there any SETtings you want at startup. VFP will read this file first if found (you generally put it in your startup directory). Here's a sample. All lines are optional, just use what you want. ...Show All

  • Visual Studio Express Editions How to Reset Form and Delete DataSet

    Hi everyone, I have a form that gets filled with all kinds of goodies (listboxes, treeviews, textboxes, labels, etc). A dataset also gets created programatically with a single table (6 columns and probably 100 rows). I'm looking for a way to quickly reset the form back to its original state and delete the dataset. I found: Application.Restart() which looks like it resets the form like I want it to. Two questions: Any repercussions to using Application.Restart or is this what it's designed for How in heck do you delete a dataset There's got to be an easy way to do this that I seem to be missing! I seem to be able to f ...Show All

  • Visual Studio Express Editions PrintDocument

    I had written some fairly decent code in VB.NET 2003 to Print out a listing of my movie collection. Multiple pages, columns etc. I imported my program into VB Express and although the majority of the code runs fine in Express, the PrintDocument code just freezes. It compiles fine and gives no error messages while executing, it just freezes. I have to Cntl/Alt/Del to get started again. Any ideas Thanks Pete Pete, Can you share the PrintDocument code with us When you say it "just freezes", if you look in Task Manager does it show "Not responding" for your app Steve Hoag ...Show All

  • SQL Server How to Deploy .mdf Files

    Hi Guys, I have a problam. I wanna deploy my application that it has data.mdf file. When I install and test it I get this message: --------------------------- Microsoft SQL Server Login --------------------------- Connection failed: SQLState: '42000' SQL Server Error: 5133 [Microsoft][SQL Native Client][SQL Server]Directory lookup for the file "C:\Program Files\MyDic\Database\Data.mdf" failed with the operating system error 5(Access is denied.). Connection failed: SQLState: '42000' SQL Server Error: 1832 [Microsoft][SQL Native Client][SQL Server]Could not attach file 'C:\Program Files\MyDic\Database\Data.mdf' as database 'MyDic'. ...Show All

  • Visual C# Build problems?

    I have a problem with the Visual C# Express Edition Beta. Sometimes when I try to build or debug (which requires building) my project, I get the following error: Error    2    Could not write to output file 'G:\MyProject\obj\Debug\MyProject.exe' -- 'The process cannot access the file because it is being used by another process. '     Using WhoLockMe says that Visual C# is the process that's using the file. This only happens after I've built or debugged the project before during that session using Visual C#, and doesn't occur all the time. Once it happens once though, it will continue until I c ...Show All

  • Visual Studio Team System permission in VSTS

    Do I have to restart a special service after I changed the access rules/permissions which detailled permission do I need to see the architectural documents (view domain information ) No.  services should not need to be restarted. Permissions may have a little lag time depending on a number of factors; if the groups are small, it is about 15 seconds. ----------------- Visual Studio Team System Beta3 is now available at MSDN Subscriber Downloads   ----------------- This post is provided as is and does not always reflect the views of Microsoft Corporation.   Any code samples cont ...Show All

  • SQL Server Trying to move a package to a new server

    Got a multi package project that is working well on one machine, Now I want to move it to another (both running the June CTP) I copied all the files but when I open it I get: Error 8 Error loading NPRImport.dtsx: Failed to decrypt protected XML node "PackagePassword" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.   c:\documents and settings\administrator\my documents\paulsvisual studio\projects\data transformation project4\data transformation project4\NP ...Show All

©2008 Software Development Network