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

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

MikeMinsk

Member List

Tobias Alte
Mike Kieffer
Holly522
lebelw
CLRHosting
pooya
Sculli
BetoFlyer
Hemant Kamalakar
mvarblow
Wommat
ChaosOrdeal
Don_Ram
Raghavendra RAV
OceanSoul
enTy
KBC
Gretzky99
decipherOne
Alfonso1912
Only Title

MikeMinsk's Q&A profile

  • Visual Basic File I/O to read a specific line

    Hey guys, In need of help. I need to read a line from a .ini file (specifically the 4th line). What it is, is a path to a database which I want to implement as the connection file in my vb window forum --> crystal reports so crystal viewer can pull the data from that database. [CONFIG] ReportDirectory=E:\appdata\ MainframePortNumber=1111 ClientsDB=E:\appdata\clients.mdb ProviderDB=E:\appdata\provider.mdb So I need VB to read the 4th line and it has to pull E:\appdata\clients.mdb and set it as the database path for crystal reports. Can anyone shed some light :) thanks. As a answer on you question how to read the 4th line: Dim r ...Show All

  • .NET Development How do I retrieve new primary keys after inserts?

    Hi, I am relatively new at ADO 2.0, so please forgive the simple question. I add some rows to my datatable in memory, but without trying to assign primary keys in the rowid column. In the datatable, the rowid column is null for all the new rows that I add. Eventually, I use a dataAdapter.Update(table) call to update the database, which is successfully updated. But now the problem arises... I don't know how---for those new rows that were just inserted into the database---to read the new primary keys (generated by the database) back into the correct rows in my datatable (using a dataAdaper if possible, using plain SQL if not). I don't wa ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Direct Music examples

    Anyone know how to obtain the Direct Music samples mentioned in the Dx9 docs The docs direct you to the <sdk>/Samples/C++/DirectMusic directory which doesn't exist (for me, anyway). Since DirectMusic has been deprecated its not been in the last few SDK sample. I would try to download an earlier one ( SDK links ). I can't remember when they were dropped but try Summer 04 ...Show All

  • Visual Studio Team System Test Run Error (Beta 2): Deployment from network share is denied by current user settings

    Hi all, Beta 2 looks and feels great so far. I am developing in a VM, but keep my project files on a central server, which is accessed through a network shared (mapped drive). When trying to run a basic unit test, this is the error message I get Failed to Queue Test Run  '<something here>' with id {2ddc7564-d243-427e-967b-fbb3209a0e94}: Microsoft.VisualStudio.QualityTools.TestManagementInterface.ExecutionException: The file or directory '<path to my dll>' required for deployment is located on network share. Deployment from network share is denied by current user settings. It seems to indicate that there is a se ...Show All

  • Visual Studio Team System Time I take to resolve a work item (Real and Planned)

    I would like to have 2 new fields, one that will fill the project manager, for example. 1.  Create database   (24 hours) but the person who designs the database didnt take 24 hours, it took houirs or less than 24 hours, so I would like to have reports that tell me if the projects are on time or not. Any recommendation Thanks Hi Luis, Have you taken a look a team project created with the MSF for Agile methodology When you create a new task and check the details tab, there are two field: Remaining Work Completed Work A project manager (using MS Project or MS Excel or Visual Studio) can set the remaining work fields in th ...Show All

  • SQL Server Can SQL Server 2005 Reporting Services run against/on a SQL Server 2000 instance??

    I was wondering SQL Server 2005 Reporting Services can run against/on a SQL Server 2000 database/instance Thanks, Michael Is there anything that I should know about when installing the SQL Server 2005 Reporting services Is there any special requirements Are there any special requirements when upgrading from SQL Server 2000 Reporting Services to SQL Server 2005 Reporting Services I do appreciate the help and advice. Google unfortunately has not turned up any answers for me. Thanks, Michael ...Show All

  • .NET Development Simple XPATH query help

    I'm making a C# app that does alot of xpath queries, and I was having trouble with one. Here is the xml I am working with: < xml version="1.0" encoding="utf-8" > <reviewers> <reviewer> <name>Matti Latva-aho</name> <email>asf@asf</email> <country>Finland</country> <affiliation>University of Oulu</affiliation> <username>matla</username> <password>19harava</password> <interests> <interest>Track II</interest> <interest>Track IV</interest> <interest>Track III</interest> & ...Show All

  • .NET Development Bitmap Load and Save

    Hi All, sure this is obvious to most of you, but please be patient and Help me : I load a bitmap with: imgInternal = new Bitmap (path); pictureBox1.Image = imgInternal; when I try to save it (not modified, nor even touched !) with: imgInternal.Save(saveFileDialog1.FileName); or imgInternal.Save(saveFileDialog1.FileName,imgInternal.RawFormat); and the image is saved as a 32 bit BMP. I want to keep the original format, how can I do Thanks in advance. YdN Am not sure if this helps,but I hope it does. Try this- Image mage = Bitmap.FromFile(@"C:\Documents ...Show All

  • Visual C++ App hogs CPU when mouse pointer moved over it

    My MFC app hogs CPU when the mouse pointer is moved around over it. I'm using task manager to monitor the CPU usage. No othe app seems to do this. If my app has a modal dialog box up then it doesn't happen. The app is built with Visual Studio 2005. My main window is only handling WM_CLOSE, WM_ERASEBKGND, WM_SIZE and WM_SYSCOMMAND (none of which get fired when you just move the mouse pointer around over it). If you get furious with the mouse pointer then you the app's CPU usage goes over 60%. Any ideas anyone Mike I have no toolbars and no OnUpdateCMDUI() handlers. One of my views overrides CView::O ...Show All

  • Visual Basic PictureBox + Color

    OK, here's where I'm at - I've created a panel (400x400) with 324 PictureBoxes (yes, unfortunately I felt the need to use a 18x18 grid of PictureBoxes). Each PictureBox has some code which changes the colour when pressed. Below is an example for PictureBox2: Private Sub PictureBox2_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles PictureBox2.Click paintme(PictureBox2) End Sub   And the code for painting: Public Function paintme( ByVal square) square.BackColor = ColorDialog1.Color End Function   I need some script which changes the color of multiple Pi ...Show All

  • Visual C++ scanf deprecated

    Hi there, I'm getting this warning: test.c(10) : warning C4996: 'scanf' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(295) : see declaration of 'scanf' Message: 'This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' 1) I don't want to use _CRT_SECURE_NO_DEPRECATE in every project I write, I'm compiling from the command line, and a compiler option would do, is there a compiler option or another permanent solution I can use 2) I want to write a portable code, so I can use my applications on all support ...Show All

  • Visual J# creating setup

    I create the program, and now i want to share with other users, how to create setup for my program Is it by design that the Publish doesn't work with non-English text given to it It shows garbage when one provides Greek messages etc. Same happens with the installations that VS.net can create (other option than the Publish menu) ...Show All

  • Visual Studio Team System How to connect to Database?

    How do I get connection to the databases that Team System are using I went to Report Server and copied settings from shared connection but still can't connect. Any ideas Thanks Shimon I am assuming you want to connect to the databases for reporting purposes, in this case you can just use the datasources(TfsOlapReportDS, TfsReportDS) used by our OOB reports. You can see the details about the connections string of each one of them by clicking on them in your report server by browsing to: http://<Application-Tier>/reports Checnk out the following post for more information about the differe ...Show All

  • .NET Development Enforce Constraints and Integrity in DataSet

    Good day, In Beta 2 we have a DataSet with 3 related tables and a number of other constraints. The DataSet was generated from a SQL Express database by the Add Data Source wizard. The DataSet editor shows that the constraints and relationships from the Database design were picked up correctly by the wizard. We are instantiating and using this DataSet manually (i.e. no form wizards or form binding). The DataSet itself does not enforce unique constraints and referential integrity as rows are modified in code. These are not detected until the TableAdapter Update method is called, which seems to defeat some of the purpos ...Show All

  • Smart Device Development Removing junk characters

    Hi, I am reading from a text file into a textbox and then separating items which are separated by a vbCrLf, and adding them to a list box. When I do this, at the end of each item, a box character appears, which then affects my database search as the string has a box in it. Can anyone suggest a way to overcome this Thanks, James Like this: { 'Create an OpenFile dialog if neccessary If fdlgOpen Is Nothing Then _ fdlgOpen = New OpenFileDialog 'Save the file name strCurrentFile = "F:\Documents and Settings\James Tucker\My Documents\BSc Computer Studies\Year 3\Fi ...Show All

©2008 Software Development Network