Normand43's Q&A profile
Visual Basic navigation between forms
i have a project with 17 different forms all being housed in a mdi parent form. i have tried to impliment a previous button on most of the forms, which is complicated by the fact that there is more than one way to get to some of the forms at this stage, i have used a global variable which is changed each time a form is closed, then a case statement within the previousbutton_clicked event procedure that will use the variable to figure out which form to go back to. this seems to work, but i was wondering if anyone knows an easier or better structured way of achieving this functionality. any ideas will be greatly appreciated. thanks in advance, Mark thank you, i will take some time to try to under ...Show All
Visual Studio install errors in the vs2005.net,help
have errors in install vs2005.net, show "error 1335", help!! in the logs produced, is there any mention of error 1305 The reason I am asking is because those errors relate to bad media/damaged media which also can cause the 1335 error afterwards. I would also suggest to do the following and see if it helps: Try to create an image of the DVD/CD using something like say, Nero. Then mount this image using a virtual CD tool like MSVCD and mount this image on it, then run setup from the mounted image try to place the media into another CD/DVD drive and install it from that, if you have one available Disable AV software as sometimes it can cause to such errors during installation. see if you can install it to ano ...Show All
.NET Development OraclePermission
I keep having this problem when I tried to run a program from another machine. {"Request for the permission of type 'System.Data.OracleClient.OraclePermission, System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."} Any comments This is what I did. After days of battle, I just add this line to the client machine.config <section name="system.data.oracleclient.OraclePermission" type="System.Data.OracleClient.OraclePermission, System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> And that was it. Everything start working fine. Thanks for you help. ...Show All
SQL Server How to get the stored procedure return type
I am having a problem finding the stored procedure return type. I am having no problem with the getting the stored procedure parameters collection and processing as needed or determining if the parameter is an output column. But if the stored procedure returns a value, how to I determine that return value type with SMO. I would much appreciate it if someone could answer this... Steve Graddy Orgbrat Consulting Ok I am confused.. I understand about the ISOutputParameter property. let me give you an example and maybe you can explain. Using the Pub's database and the "reptq3" stored procedure as an example. if you look at this stored procedure definition there is no output parameter, but when you ...Show All
Visual Studio Team System Adding WorkItems from a Web Portal
We have a case in which one of our project stakeholders is in fact a customer . He asked us if he can add bugs and requirements remotely to our Team System through a web portal (Web interface). I am fully aware that in this case an extra license is required (No problem regarding this point), however, the question is can this customer login to TS/TFS through a username/password and add new workitems of type Bug or Requirement through the TS project portal (Web Interface) or any other means If this is not possible, then is there any suggested workarounds for doing so When do you think Microsoft will incorporate such a feature in TS/TFS Thanks in advance - Luai. Hi, ...Show All
Visual Studio Team System Unshelve to different branch
Is there a way to get code shelved from branch A easily into branch B Just jumping on the bandwaggon here to say this would be a great tool to have. Sometimes we start things in an existing branch and then decide "uhh, we better start a separate branch for this" and then we have to manually reconcile the shelf. Cheers, Drew ...Show All
Windows Forms Load an image dynamically in statusbar...
Hi... In my application on status bar i am changing the image of " toolstipstatuslable " at runtime. for loading the image i have given the path as - this .toolStripStatusLabel1.Image = System.Drawing. Image .FromFile( @"..\Red.bmp" ); But when i run my only .exe file by putting it in some other folder & if i am runing my .exe file from that folder then its giving me error as file ot found... So how to load the image file in resources so that it will take it from their at runtime. Thanks, Vinay Hi Ahmedilyas … My bitmap image files are in Resource folder.I have added those image file as Embedded as a resource & I am doing ...Show All
Visual FoxPro Multithreading in Vfp9
Hi *.* How can i make real multrithreading application in vfp9 Thanks. VFP doesn't really do real multithreading. It does Appartment Model Threading running under MTS or COM+ in Windows2000/2003. See: http://fox.wikis.com/wc.dll Wiki~MultiThreadedVFP http://fox.wikis.com/wc.dll Wiki~MultiThreadedDLL .NET Interop for Visual FoxPro Applications: http://www.west-wind.com//presentations/VfpDotNetInterop/vfpDotNetInterop.htm ...Show All
Windows Forms VB .NET DataSet adding unknown number of DataTables
I am trying to load from another class unknown number of datatables into one dataset. VB .NET dim dsTmpSet as dataset for i = 0 to count -1 Dim dtTmp as datatable = new datatable(i) dtTmp = a data table returned by another class dsTmpSet.tables.add(i) next This just crashes the for loop. What would be correct way to read my tables to the dataset. Is the other class setting the Table Name in the constructor You can't add two tables with the same name. If not the problem, can you post an extract of the code that creates the table for insert ...Show All
.NET Development how to display text on the image
hi, I have displayed the image in the picturebox . i can do zooming of the image. I would like to display some text on the image without affecting the zoom of the image can anyone help me in this regards, Singam. I agree to Ian's viewpoint.By the way our requirement is to show the text on the image.I think the approach I have specified will be holding good.The picture box control will be providing only the basic functionality.It wont support anything like what we need.If we need to display the text in the picture box,the orginal image should have the text embedded on it by using some tools like MS paint.We cannot do it programatically. ...Show All
Visual Studio Express Editions How to read each byte in a single or a double number?
Hi there, in C it is easy to read each byte in a float variable, how do I do this in VB What I need is to extract each byte from a VB single data type floating variable. The first byte, the second byte, the 3rd byte and the 4th byte in a single data type variable. Can anyone give me a hint Thanks in advance for your help. Chitai Liu Try this: Dim myfloat As Single = 1.2345 Dim floatasbytes() As Byte = BitConverter.GetBytes(myfloat) It works with Double too. ...Show All
Visual Studio Team System Getting a new work item field to display in the OLAP cube
I've created a new field named stage in our scenario template and updated VSTS. It looks like: < FIELD name = " Stage " refname = " Microsoft.VSTS.Common.Stage " type = " String " reportable = " dimension " > < HELPTEXT > Stage of the scenario in the development process </ HELPTEXT > < REQUIRED /> It's showing up correctly in VSTS and in the TFSWorkItemTracking DB in Team. The issue I'm having is that it's not showing up in the TFSWarheous OLAP cube. How can I get this in to the cube Thanks in advance for any help on this. Greg Once you set a field's reportable attribute to dimension, the next time ...Show All
Visual C++ visual c++ 6.0 vs visual c++ 2005
I am looking forward to upgrade VC++ 6.0 to Visual C++ .NET 2005. But there are things I need to know before I do... 1. What are major changes in the "object class" structure ( if there are changes). 2. Do I need to make changes for the MFC libraries that I used while coding with VC++ 6.0 when I upgrade to VC++ .NET 2005. 3. In VC++ 6.0 I can use openGL and MFC together, and I can run OpenGL in a window with the integration of OpenGL and CDC ( class of device-context objects). Can I do the same in VC++ .NET 2005 4. In VC++ .NET 2005 , Are there any restrictions for using pointers with Arrays, List, Map Classes and my own classes 5. If I want to make a long-term MFC pr ...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 TotalStudentsP ...Show All
SQL Server SP2?
I have recently inherited the administration of a SQLEXPRESS db. I'm not sure how long it's been in service. Do I need to install a service pack Where do I find the SP level hi Ted, Ted Dawson wrote: I have recently inherited the administration of a SQLEXPRESS db. I'm not sure how long it's been in service. Do I need to install a service pack Where do I find the SP level SP2 is currently still in CTP and thus not fully "supported", but should be released "when ready" (Q1 2007)... if you like to know the actual build and level you can execute SET NOCOUNT ON; SELECT SERVERPROPERTY ( 'ProductVersion' ) AS [Build], SERVERPROPERTY ( 'ProductLevel' ) AS [Version]; --& ...Show All
