Rhubarb's Q&A profile
Visual Studio Express Editions Webbrowser - need options - help needed
Hey how can i make a option on a menu strip under file called work offline and what i need it to do is basicly turn the browser off so that i can't connect to the net like in Internet Explorer etc... also dose any one know how to get the favourites to work say if some one clicks on a button i need it to popup with a small window with there favourites in cheers. that cant be right as I've just done it and reading the docs as well as the tooltip description "Gets or Sets a value indicating whether the System.Windows.Forms.WebBrowser control is in Offline mode" can you show us exactly what you have coded for this and if you are using a WebBrowser control ...Show All
Visual Studio Express Editions FolderBrowserDialog sample
I am trying to use the sample code at http://msdn2.microsoft.com/en-us/library/system.windows.forms.folderbrowserdialog.aspx but I can't figure how to put it in the windows application project generated by the IDE. I created an application named FolderBrowserDialogExampleForm. I replaced all of the generated code with the sample code. When I try to build I get the error message: The namespace <global namespace> already contains a definition for FolderBrowserDialogExampleForm How should I be using this sample Rusty Could you post some of your code Preferably the section of code that is giving you the errors.. One thing you need to make sure is that you do NOT name ANYTHING the sa ...Show All
Windows Forms String Function for repeating character string
in VB6 we can use String Function for repeating character string of the length specified, what can be used in windows mobile or visual studio The String() function is still around in VB.NET. For C#, you could use this replacement: public static string FillString(char ch, int count) { StringBuilder sb = new StringBuilder(count); for (int ix = 0; ix < count; ++ix) sb.Append(ch); return sb.ToString(); } ...Show All
.NET Development checking logged in user priviledges
i have an app that works fine when a user logged in has admin priviledges but not when they are logged in as a guest. anyway that i can check to see if logged in user has admin priviledges using c# and framework 2 you could use the IsGuest property in the WindowsIdentity class System.Security.Principal.WindowsIdentity.GetCurrent().IsGuest at least this will tell if they are a guest however still may not be good enough for your solution. do you need to check if they are an admin or if they are a guest One other way maybe to use WMI, get the group the current user belongs to and see if any of them are in the administrators group however it would be expensive ...Show All
Visual Studio Team System TF14087: Cannot undelete "file" because not all of the deletion is being undeleted
We're having a problem with the source control in TFS. Here's our scenario: Created branch "Rel1.2" from "Rel1.1-maint" Deleted branch "Rel1.2" Created new branch named "Rel1-2" from "Rel1.1-maint" Renamed branch "Rel1-2" to "Rel1.2" Now we get this error message when we merge from Rel1.1 to Rel1.2: TF14087: Cannot undelete '$/Foo/Rel1.2/Rel1-2/file.sql' because not all of the deletion is being undeleted Why does it think that the directory structure has a "Rel1-2" in it Did the rename process cause problems with the branch It has been fixed for Orcas. There's no hotfix I'm aware of. You could call Support and request one, but the workaround i ...Show All
SQL Server Another Mysterious issue in SQL 2005 & SSIS
Explain this: Package runs successfully from BIDS It runs successfully in SSIS store It runs successfully when I manually execute the Job JOB FAILS EVERY FREAKING NIGHT TheViewMaster wrote: Message Executed as user: MyDomain\Administrator. The process could not be created for step 1 of job 0x51E59B1986AB454C80F1D7B18F658064 (reason: The system cannot find the path specified). The step failed. Btw - there is no DTS folder in C:\PROGRAM FILES\Microsoft SQL Server\90 directory Have you installed SSIS on the server that SQL Server Agent is running on -Jamie ...Show All
Software Development for Windows Vista UPnP SAFEARRAY
I am trying to implement a UPnP service with one of the variables as defined here < stateVariable sendEvents = " no " > < name > ApplicationList </ name > < dataType > bin.base64 </ dataType > </ stateVariable > The utl2idl.exe generated the following method in the IDL file [ propget , id (DISPID_APPLICATIONLIST), helpstring ( "Property ApplicationList" )] HRESULT ApplicationList( [ out , retval ] SAFEARRAY *pApplicationList); But, I get the following errors in VS 2005, on the IDL file error MIDL2139 : type of the parameter cannot derive from void or void * : [ Type 'PVOID' ( Pa ...Show All
SQL Server Saving Passwords in Windows Synchronization Manager
I am using Windows Synchronization Manager to sync up a web based Merge Replication. Is there anyway to get Windows Synchronization Manager to save the passwords for the distributor, publisher, and the basic auth for the web server I know the easy way would be to use windows auth by that is not an option in my scenario. It is a pain to have to type them in everytime I want to sync my databases... ...Show All
Visual Basic Programming Languages
Hi, I'm relatively new to programming, and Visual Basic doesn't seem to be that good of a language, and not that much used in real applications. I want to move onto a different language, one that is very popular, can do almost anything, and can be and IS used in professional applications. Another important factor is platform compatibility. Java provides that, but Java isn't that popular for Windows, and Windows is my primary target. C++ works, but I have a couple of questions: 1) Can C++ be used on any OS Is it a good language to use as my primary language 2) Is C# going to replace C++ Does that work on other OS's C# is newer, and so I'm thinking maybe its the new version of C++ that's going to replace it, as xhtml is probably going to do ...Show All
Visual C++ database connection using VC++
Hi, I am trying to connect a database in ms sql server using VC++ but unable to do that.. The database is added in ODBC ..please help I very noob in databse and databse technology also. I want to write a progam store the customer name or something else inside the ms SQL server rather than default method. I prefer ODBC or SQLAPI Thanks for your help. Your help is greatly appreciated by me and others. ...Show All
Visual Studio Express Editions Invalid search path 'c:\msdev\lib' specified in 'LIB environment variable'
I have Visual Studio 6.0 and Visual C# Express Edition. When I try to build some source i have downloaded for C# Express, I get the warnings about Invalid search path... I've tried a variety of settings for the LIB environment variable to no avail.. I don't have a c:\msdev\lib' directory, but have very many 'lib' directories..... Which one should VC# Express expect to see TIA B None, C# doesn't use libs nor the LIB environment variable. Are you sure you are talking about C# Express, not C++ Express ...Show All
SQL Server Need help using GROUP BY clause
I have two tables A. TEST_SUBJECTS_TBL with the following columns . This table contains the subjects in a test 1. TEST_SUBJECT_ID PK 2. SUBJECT_ID FK 3. TEST_ID FK 4. PM // This is the passing marks for the subject B. TEST_MARKS_TBL with the following columns This table stores the marks scored by students for each subject 1. TEST_SUBJECT_ID FK 2. STUDENT_ID FK 3. MARKS_OBTAINED I need a query which gives me the max, min,avg marks obtained in each subject for a test and the total number of students who have passed in the subject The query output should be something like this ___________________________________________________________________ SubjectID MaxMarks MinMarks AvgMarks TotalStudentsPassed _______ ...Show All
Visual Studio Team System Opening a database project is taking a very long time
Hello everybody, I have a little problem. I created a database project that represents a Microsft SQl Server 2005 database schema. When importing the schema (the database size is 1.7 Gb) it took 6 hours. After creating the project , when i want to open the project it takes 2 hours. How is this possible Can anybody help me on this one Thanks a lot, Oana. Tom, I was involved in the beta test of the performance fix. Roughly two weeks ago I reported back to Microsoft that their fix was successful, performance has been improved tremendously. I've not heard anything about the status of this fix since then. Gert and his team have done a tremendous job responding to issues on this fo ...Show All
.NET Development Show/Hide Placeholder in JavaScript
Hi, I have a Placeholder with a calender control in it. When you click on a button im calling som javascript: (In the button property OnClientClick is advancedSearch_Click()) function advancedSearch_Click(){ var theElement = document.getElementById( "myPlaceholder" ); alert("HI"); if (theElement.visible == false) { theElement.visible = true; } else { theElement.visible = true; } alert("The End"); } The alert HI is shown, but The end is not show, that is because something is wrong but what Can't I say visible on a placeholder Thanks for the help Best Regards Kim What i'm trying to accomplish is that : I have at control that i was adding to the place ...Show All
Visual Studio 2008 (Pre-release) 3D cube from code
I'm having problems creating 3D cube from code so that cube 'faces' display material right way around. I could create a cube by making 6 planes in ZAM3D and using transforms to arrange them as a cube. this is not really nice though... check the sample code below. There's a lot of samples in the Windows SDK samples but when I use VisualBrush as a material on the cube faces, material is mirrored, wrong way around, etc, etc.. If anybody has time, please let me know how to do it or give example code. thanks sample: <!-- cube side geometry --> < MeshGeometry3D x:Key = " SideGeometry " Positions = " -1,1,0 -1,-1,0 1,-1,0 1,1,0 " TriangleIndices = " 0 1 2 0 2 3 " TextureCoordi ...Show All
