minimalistic's Q&A profile
Visual Studio Team System MS Project file in Sharepoint marked as read-only
Hi, We are experiencing the same problem as this person (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=8011&SiteID=1). Even though no one has the project file open, MS Project says that the file is in use and is locked for editing (but no specific person is named, like when someone really has the file open). This happens even when I am the only one editing a MS Project file. After X number of minutes, the file can be opened in read-write mode again. This bug makes it practically impossible for us to use Sharepoint as it makes us re-saving documents in other filenames to be able to save the files, which means we could as well use ...Show All
Software Development for Windows Vista Transparent toolbars and stuff
ye i heard bout transparent stuffs in vista, im so srry if this isnt the right place to make a topic like this i heard u can make transparent bars just in windows from windows xp but i havent got the answer yet, so does anyone know If you're talking about alpha-transparency, that's been around since Windows 2000 (see "layered windows"). If you're talking about "glass", then you'll want to check out Jeff Pettiross's talk at the PDC (PRS319). You can download the slides here , ...Show All
Visual Studio Express Editions How to save images to sql?
Hi! I'm trying to save a jpg pictures to a SQL database. The application first opens a dialog box to select the file (picture) I want to store in the database. When selected and pressing button no.2 it should be saved into the databade, but... I'm not sure what I'm doing wrong, but when I do the debugging I get the next error messages: 1. The ConnectionString property has not been initialized. Here is the code I'm using: Option Strict On Imports System.Data.SqlClient Imports System.IO Public Class Form1 Inherits System.Windows.Forms.Form Private Sub PhotoBindingNavigatorSaveItem_Click( ByVa ...Show All
Windows Forms Load User Controls in my toolbox service
Hi, I am building a form designer and I would like to load assemblies (User Controls) into my toolbox, so the user can drag and drop the control into a panel like visual studio. How can I do that using code I need so sample code! Thanks You can load the assembly using Assembly.LoadFrom . You can iterate over certain types by using reflection. I have explained quite a bit about this in this post , including sample code. You could fill your list with types. When a type is dragged onto the target, you can instantiate the type. How to do this is also listed in that post ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed Directx Deployment Problem
I am making a game using visual studio .net 2003 with directx 9 2005 update. I create a deployment project with visual studio that includes all directx.dll files and other detected dependancies. I deploy the game to the computer on which it was developed and it works fine. Now I want to test the networking so I deploy it to a laptop. The laptop is running windows xp with SP 2 (so .net framework is there obviously) I also installed latest runtime on this laptop. When I try to run the game, it says: "Application has generated an exception that could not be handled" It may be that the game itself is throwing some ki ...Show All
Visual Basic From VB6 Pro to Visual Studio 2005 Pro Upgrade
i always used VB6 for development, now we want to start new projects in VB 2005. contacted Microsoft Australia, and was told that i cannot buy Visual Basic 2005 seperatly, and need to buy Visual Studio Pro 2005. i wanna know if i purchase Visual Studio 2005 Pro (Upgrade), can i upgrade it from MS VB6 Pro Note: i have only VB6 Pro no whole Visual Studio 6 Pro. thanks veyr much in advance for your response. i agree with Randy, Microsoft should bring Visual Basic Pro 2005 seperate from visual studio 2005. people who dont need complete visual studio (like me) should not waste money on whole package, ...Show All
Visual Studio Uninstalling VS2005 Beta2 - REMOVE button missing
I was about to install the release version of VS 2005. But while trying to uninstall Beta2, in Windows Add/remove programs, there is no change/remove available for all Beta 2 related entries. OS is Win XP SP2. Can somebody point me to what might have happened Weird. Can you try uninstalling using: http://go.microsoft.com/fwlink/ LinkID=47598 ...Show All
SQL Server When will it be fully supported?
Having sucessfully tested mirroring, I've suggested we should implement it at my place of work. However, they are non too pleased that it is not yet officialy part of SQL Server 2005 and therefore not supported, does anyone know when it will be in standard edition because I really really need to know... Thanks Database Mirroring is included in SQL Server 2005, but requires a trace flag to enable and is not supported by Microsoft for production system deployments. The feature is undergoing extensive testing with internal and external customers through an early adopter program. We hope t ...Show All
Visual C++ rand() not being random!!!
OK An other problem which I really need assistance with I'm using srand to generate random numbers out of a range BUT i always get the same sequence of numbers!! But I notice the problem come from rand() i tried to create a new project with only this : #include <ctime> #include <iostream> using namespace std; void main() { srand(time(NULL)); cout << rand() << endl; cin.get(); cin.ignore(); } rand() does give me 7880 - 7920 - 7934 - 7946 as time goes. I even tried closing VS completly and try again, i Get approximatly the same result. What's wrong ! Like i Said, i do ...Show All
Visual C++ WH_CALLWNDPROCRET hook into Gina
Hi, I am currently working on hooking into GINA functions. I know i can use WH_CALLWNDPROCRET hook to hook into windows procedure to display my own dialog for retrieving user credentials. And then I need to monitor for WM_INITDIALOG, WM_SETTEXT, and WM_COMMAND.But I got lost when i implement them, coz i can't single step debug them when I test them on windows logon. Can anybody tell me the basic idea of where and what my code need to do in WM_INITDIALOG, WM_SETTEXT and WM_COMMAND Many thanks, Andy Hi Martin, Indeed i am trying to write a logon program using biometrics. I think i will need to read more on w ...Show All
Windows Forms Windows XP control
I know this question sounds like stupid. Anyway, can I find some winform control e.g. menu(office 2003 style), toolbar(office 2003 style), xp themes, etc.... from microsoft Since I can't use 3rd party control in my project even they are free and open source. Any idea Thanks and Regards Steve. It's because basically, my company policy can't let me use& ...Show All
Windows Forms How to apply ColumnStyle and Alternating Row style
I want to apply column style and alternating row style to my datagridview How should I do that Here's what I want to achieve: I have 3 columns. I want the first column to display its cells contents in bold. I also want to aply alternating row color to each row. Also, the Text should wrap in each of the cells. How should I achieve the above scenario All can be set using the Desinger. A DataGridView has the AlternatingRowsDefaultCellStyle property. Also each column of a DataGridView has the DefaultCellStyle property where you can set Font and WrapMode. ...Show All
SQL Server User define function
I am using SQL 2000, and have a database was updated all the way from 6.5. I can not create function on this database instance, but I can create function on any other "new" database instance. I think this is because this particular db was from 6.5 which do not support user define function. Is there easy way to fix this problem or do I have to create new database and copy everything from the old one Thank you in advance. What is the database compatibility level for the upgraded database If it's still 6.5, then try changing it to 8.0. ...Show All
Visual Studio Express Editions how can i pass data to Excel
Please can anyone can help The following code works properly in Visual Basic 2003 but not in Visual Basic 2005 Express. Dim EXL As New Excel.Application() If EXL Is Nothing Then MsgBox("Couldn't start Excel") Exit Sub End If Dim WSheet As New Excel.Worksheet EXL.Application.Visible = Tru ...Show All
.NET Development Online/offline database sharing concepts
I'd appreciate some info on how to make an app with a database backend, that can (a) work as a web-based app, and alternatively (b) work as a standalone app with easily shared data files. Let's ignore development details for the app and focus on the data itself: I have an app with its own large proprietary data file format. Users of the app can currently share data files via e-mail and run the program anywhere, independent of an internet connection. And to do so all they have to do is run my installation kit and it installs the program. No database software needed. Just like sharing Word or Excel files. But, it would be best if man ...Show All
