mobigital's Q&A profile
Visual Studio 2008 (Pre-release) Xaml Syntax Errors - Newbie
Hello, I am new to WPF development so this should be easy for you pros. I am working with some of the June example projects but I get syntax errors on items that are valid according to the schema . Is this a bug / beta /ctp issue or do I have the wrong bits on my box. Most programs run fine but are these warnings keep appearing. Does everybody getting the same error Thanks !! < Grid.Resources > < Style TargetType = " {x:Type TextBlock} " > < Setter Property = " FontSize " Value = " 14 " /> < Setter Property = " FontFamily " Value = " Verdana " /> </ Style > < Style x ...Show All
Visual Studio Team System Schema Compare - Possible Bug
I am comparing a database to a project. One of the objects in my project has an error in it. When I do the compare, DBPro seems to treat the object in the project with the error as not there because the results of the compare show that it needs to be added to the project. Is this W.A.D Thanks - Amos. Alle wrote: ... therefore as far as compare is concerned it does not exist. Hi Amos as fas as COMPARE is concerned the object does not exist. For the project it does exist (there is a file xxxxx.sql). That it doesn't exist for compare is wanted, you certainly don't want to deploy an object with errors. Yes, the caveat is that the other way around won' t work either. I think it is reasonable ...Show All
Software Development for Windows Vista HELP!!!! vista RC1 build 5600 install help
I downloaded the RC1 update for vista x64 build 5600, and I really don't know what to do next. I can not find any program to burn the proper format of dvd. If this helps, this is an overview of my system. Gigabyte tech motherboard with the nividia sli 16 bit pci, dual evga geforce 7300-gt 512 mb, amd athlon 64 x2 2.0 ghz, 4 gb of ocz ddr2 400 mhz ram, and a couple of other little things. Also, some of the drivers will not recognize under the x64 setup, were they did under the x86 version. Any help would be very appreciated!!! Thanks for at least taking a look! Download Nero from www.download.com Intall it and get a DVD-R stick it in your drive and use the option in nero to burn image disc. Once comple ...Show All
Visual Studio Team System Newly created Area and Iteration paths not showing up in work items
I have created a new iteration and area paths for my project, but the values never show up in Work Item dropdown values. Its been a few hours, and I've re-started VS/TeamExplorer several times. Any idea how to resolve this issue I need to be able to create new values that show up in my WI's. Thanks, -JS Here are posts that describe few troubleshooting steps in server that helped others: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=722453&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=701767&SiteID=1 ...Show All
Windows Forms Delete a row programmatically in DataGridView
How can I delete a newly added row with code in a DataGridview I cannot find any delete method in any of the features of the DataGridView. I test for correct data in the _RowValidating event that sets cancel to true. But when the user leaves the row without correcting the value, I set e.cancel = True. But the row is still there with the invalid value in one of the cells. I want to delete the row if the data are not correct and the user navigates away from the row. Can this be done Is RowValidating event the correct place to do the delete How and where should I do it The DataGridView is bound to a binding source which is in turn bound to a datatable. There is no delete method in the binding source and the record does not ex ...Show All
Visual Basic Any questions
I'm creating a little tool. But it is so much difficulty for me and i hope that anyone can help me. I have a Form with PictureBox ListBox and 3 Button. I need opening a file and i want that when it shows the OpenFileDialog it seek in the same folder a file with same name. Example: I open the file by.bin it mus search a file with this name but different extensions ( *.kar ). The file .kar is made by any GIF Files and i want that when it seeks the .KAR files it add all GIF in ListBox.Item (if the GIF Files are 16 it add 16 Items) and when i click on the item in the PictureBox will show the GIF in PictureBox. And i want that clicking another button it overwrite a GIF Selected (that it is an ListBox.Item) it shows an O ...Show All
SQL Server SQLCE team: Call to Get___ methods entail boxing?
Greetings - It appears in tests that the calls to the type specific Get___ [e.g. GetInt32()] methods of the System.Data.SqlCeClient.SqlCeResultSet type result in an internal unboxing from some internal storage of values. I've been calling these methods diligently to avoid the boxing tax... Can you confirm this behavior If this is the case, will you be improving the internals or would it be better for me to wrap the native interface myself to avoid this -rory How important is performance Are you loading a very large table with a small memory, slow desktop Is this a real time application I can understand the issue when doing this operation with a mobile device - like on my IPAQ - and as CE is ...Show All
SQL Server Receive multiple FTP files
Is there a way to get more than one file with a single ftp task in SQL 2005 I need to get 5 files from one server. They are in two different directories is that makes any difference. Right now I have a separate task for each but would like to have one task if possible. Thanks Bill, we actually use a table for our connection (directories, files, etc.) for FTP's and loop through the table replacing the FTP properties (in the FTP task) with the info from the table. If you did this, you could read the connection info into a recordset. Add a ForEach task and place the FTP task within the ForEach container. The recordset info then drives the connection info for the FTP task... Since you mention tw ...Show All
Visual Studio Tools for Office VSTO Outlook Add-in Debug errors even for simple HelloWorld add-in
I am trying to learn about VSTO Outlook development and I've tried several Outlook add-in samples online. I'm getting all kinds of weird behavior when I try to debug even a simple HelloWorld add-in. public class ThisApplication Private Sub ThisApplication_Startup( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Startup MsgBox( "Hello World" ) End Sub Private Sub ThisApplication_Shutdown( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Shutdown End Sub End class Sometimes I get the following in a Microsoft Visual Studio message box: "Unable to start debugging. Check for one of the following. The application you ...Show All
Visual C# missing app.config in vs2005
Hi, I'm wondering how can i open (or create) an appconfig in VS2005. As I remember, in VS2003 it was created with the project, but in VS 2005 it is not (or somehow it is hidden). How can I create/access it (Or there is a new way in VS2005 to manage some settings ) Thanks Oscarfh wrote: Ahh ok, and this settings file is a XMl document Yes, the file which is created, is app.config, Visual Studio will just let you edit your settings through a data grid. Any settings you add/change in this grid will be stored in app.config, and Visual Studio will create a special Settings class, which will let you access those settings through its properties (you get intellisense and all). Of course, yo ...Show All
Visual Basic Get the character from textbox.text
A textbox for user input say for example, Hello! How can i get the character from textbox.text I want to get the character one by one like H, e ,l , l , o ,! and store it in an byte array(6) Please help, many thanks you could do this: Dim theCharArray() as Char = theTextBox.Text.ToCharArray() this will output it like: H e l l o instead of hello (one big string) then to convert to byte array try this: Dim theByteArray() as Byte = System.Text.Encoding.ASCII.GetBytes(theCharArray) does this help ...Show All
Windows Forms How to create dockable windows?
Hello, Can somebody guide me in how to create dockable windows, I mean I want to make something like Solution Explorer, Class Explorer, ToolBox, etc. Thanks As far as I know, .NET (at least up to 2.0) does not yet provide docking windows support. Instead you'll have to use a third party solution. There are several commercial vendors out there (search for docking windows .NET). There's also a pretty good free docking windows implementation called Dock panel Suite, available from: http://sourceforge.net/projects/dockpanelsuite/ Documentation is pretty minimal though, so if you need help, pay one of the commercial companies a few hundred $ for their implementation. Cheers, Sy ...Show All
Visual C# Forms In C#
I know there is a way say if i have 4 Forms Form A Form B Form C Form D I want to put an order on how my forms load when i build the application like I want to load Form C first the Form D then Form A and the Form B....Is there a way i can order my forms like that in VS.Net....Also say if I wanted a splash screen when a form with a picture opens and it just loads for about 4 seconds the loads the next form....anyone know how to get this done On your first question I don't have an answer because I don't understand what do you mean when you say: "Is there a way i can order my forms like that in VS.Net" - how does this VS.Net order look like For your second question you can look on this link: http://forums.mi ...Show All
Visual Studio Error open project from source control using MSSCCI
Hi, all. I want to Open project from source control using MSSCCI, but failed. Following is my code: SCCEXTERNC SCCRTN EXTFUN __cdecl SccGetProjPath( LPVOID pContext, HWND hWnd, LPSTR lpUser, LPSTR lpProjName, LPSTR lpLocalProjPath, LPSTR lpAuxProjPath, BOOL bAllowChangePath, LPBOOL pbNew ) { strcpy(lpUser, "DVD"); strcpy(lpProjName, "TestVLSCC31"); strcpy(lpLocalProjPath, "D:\\SccTest002\\TestVLSCC31"); strcpy(lpAuxProjPath, "svn://127.0.0.1"); return SCC_OK; } SCCEXTERNC SCCRTN EXTFUN __cdecl SccOpenProject( LPVOID pContext, HWND hWnd, LPSTR lpUser, LPSTR lpProjName, LPCSTR lpLocalProjPath, LPSTR lpAuxProjPath, LPCSTR lpComment, LPTEXTOUTPROC lpTextOutProc, LONG dwFlags ) { return SCC_O ...Show All
Visual Studio Team System Undoing a changeset?
How do you back out of a changeset I was experimenting with branches and merging and I made on a change on a branch when I intended the change for the trunk version. BTW, I can see this being a problem because the VS editor MDI tabs only give a filename (not directory) and so does the solution explorer. It would be nice if there were some visual cue to indicate that a solution you have loaded is not the "primary" version you work with but a branch instead. One nice side-effect of having "revert" on a changeset is that if the changeset updated many files, you can undo it all in one fell swoop. I wasn't able to come up with a procedure to simulate the missing 'revert' functionality other th ...Show All
