geoffhanna's Q&A profile
Visual J# jar API into J# Express - where do I find Visual J# Binary Converter Tool (JbImp.exe)
I am trying to include an API into my project which is provided as a jar. I assume I need to convert it to a dll with the JbImp tool. Does this seem correct (i assume so from the doc and post http://forums.microsoft.com/msdn/ShowPost.aspx PostID=55927 ) but where can I find the JbImp.exe tool It is not on my system ! (I did install the correct beta2 as per http://lab.msdn.microsoft.com/express/vjsharp/ ) Thanks and regards, Hugues If you install VSTS SKU, you get this tool under \Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin. Otherwise please install .NET SDK from http://msdn.micros ...Show All
Windows Forms convert base64 to image
Could someone please help me on this, im about to tear my head off.... I am SIMPLY trying to convert a base64 string from an xml file to an image .... I have declared a DataSet object, called the LoadXml.. checked the size of the byte array which is the same as the origional.... ' Extract the image Dim& ...Show All
SQL Server JDBC Driver
Hi, I am writing a simple java code to connect to my newly-installed SQL Server 2005 Express. I have read that a new driver is needed to connect to the database (sqljdbc_1.0.107.104_enu.exe). Here is a connection sample I found: jdbc:sqlserver://localhost;user=MyUserName;password=**** and the driver class is com.microsoft.sqlserver.jdbc.SQLServerDriver This is far different from the one I used to have when connecting to SQL Server 2000 or MSDE (jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=dbNameSelectMethod=cursor) Also, I used to have the following when connecting to a database: 1. jtds (net.sourc ...Show All
.NET Development How to Display an empty String for DBNull Date Fields values in a GridView
I have a Value Object, vo, that has a System.DateTime field that is populated with the help of an SqlDataReader, sdr, as follows: vo.MyDateField = Convert.ToDateTime(sdr["MyDateField"]); vo.MyDateField is tied to an ObjectDataSource that is used to populate a GridView. The problem is when MyDateField is null in the database. In that case sdr["MyDateField"] = DBNull.Value, and since System.DateTime cannot take the value of null, vo.MyDateField = "1/1/1", and that value is displayed in the grid, instead of a blank entry as required. I do not want to resort to SqlDateTime because it is not as precise as System.DateTime. How can I have a b ...Show All
Visual Studio Team System TFS Project status
Could you tell me which are the possible status for a TFS Project and wichi is the meaning of each status . I have found projects with status "Well Formed" or "New", When I create a project, and something fails, which status is assigned to that project Thanks The web service WSDL states that valid strings to return are "New ", " WellFormed" or " Deleting". I think those statuses mean:- New: Project in the process of being created WellFormed: Project ready to rock and roll Deleting: Project in the process of being deleted. I'm not sure what is returned in the case o ...Show All
.NET Development VS 7.0 (2002) conversion to VS 2005
I intend to upgrade to VS 2005. Two questions. Can I get the upgrade package and go from 2002 to 2005, or do I have to purchase the full package. Second, if I continue to develop code in 2002 will the "conversion wizard" upgrade it to 2005 pretty comprehensively, or will I have a lot of rework Ahmed, I am upgrading to VS 2005 Standard from 2000 Professional. Gordon. ...Show All
Visual Studio VB6/VSS Questions
I have just moved into a position in which my office is trying to integrate VSS into their development process and we are having a lot of difficulty in trying to accomplish this. Essentially they have deveopled multiple VB 6.0 projects which share multiple objects but we cannot get VSS to see these as shared objects. For example: projecta.vbp includes folders "Forms", "Modules", "Class" and "Designers" which each contain multiple files like "Forms/frmCalandar.frm" projectb.vbp also includes folders "Forms", "Modules", "Class", and "Designers" ect and includes the file "Forms/frmCalandar.frm" Both projects carry shared objects from "Forms", " ...Show All
Visual Studio view multiple reports in same crystalviewer control
I have three reports that I want to view at the same time in one crystalviewer control on a vb.net windows form. How do I do this with the bundled version of crystal reports shipped with VS 2003 B. You can only bind a crystal report viewer to a single report. Options would be to have perhaps a forms with tabs and a viewer on each bound to each reports or to include the three reports as subreports in a single viewer. ...Show All
Visual Studio Modify Designer Colors
I would like to create an addin that could control the designer's background color as well as the colors used for the different element types. Is this possible with the power toys framework One more thing, to elaborate on step 5 above - make sure that you close and reopen the development environment after you have enabled high contrast mode. Not all UI elements support toggling into and out of high contrast mode without reloading the UI. ...Show All
.NET Development how to open ur custom file format in ur application
hi, i am developing an application in C#.For saving the state of an application i am using a custom file format.Now suppose a user using the application want to save the state of the application he can save it as "savedstate.abcd" where .abcd is the new extension to be supported by my application.Now when he double clicks on this saved file named "savedstate.abcd" my application will open up and the objects being used in my application will be instantiated with the saved data. i have done addition in the registry so than when a user double clicks file with my extension ".abcd" the application will start.but how do i read the applica ...Show All
.NET Development file modification notification and read
I have an app that needs to continuously write to the same file. When the file is written to, I need my app to be notified and have it read the file, starting at the point where it last ended. I am not sure how to go about this - particularly the notification on file change. Anyone Thanks in advance. Dan FileSystemWatcher fsw = new FileSystemWatcher(); fsw.Path = @"C:\Filetowatch.txt"; fsw.NotifyFilter = NotifyFilters.LastAccess | NotifyFilters.LastWrite | NotifyFilters.DirectoryName | NotifyFi ...Show All
Visual Studio 2008 (Pre-release) XAML specification
Is there any specification or reference for XAML available People often refer to a few different things when they say XAML. Sometimes they mean: A) What are all of the WPF based elements that I can use in a XAML file B) Is there a specification or documentation of the rules of XAML Which are you asking for What details do you want to learn Thx, Rob Relyea PM, WPF http://longhornblogs.com/rrelyea ...Show All
Visual Studio Express Editions To check multiple Checkboxes in CheckboxList using values from Array.
Hi All, I have an array which contains values of the checkboxes that I would like to check in the CheckBoxList. However, when I do a loop only 1 checkbox is checked. Is it a coding error I am using Microsoft Visual Web Developer 2005 Express Edition and am coding in VB.Net. I would really appreciate it if you could help or assist me. Thank you so much. tb_lessons.Text contains a String for eg: 2,3,4 Here is my code: ''====== Retrieve Multiple Values for CheckBox ======= Dim sel As String = tb_lessons.Text Dim myarray As Array myarray = Split(sel, ",") Dim i As Inte ...Show All
Visual Studio Team System How to create a test result report
I'd like to know how to create a test result report. So we can view the history of all the tests. There is a default report "Build". But only the summary of the test result is listed. Detailed information is unavailable. Rachel, You could view the history of all the tests using Excel Pivot table or chart by connecting to the TF warehouse and using [Outcome].[Outcome], [Result][Result] and [Date].[Date]dimensions to slice the [Measures].[Result Count] measure. Using Excel would be the easiest way to do it, you could also use the Report Builder or the report designer(if familiar with MD ...Show All
Visual C# Registry Access
Here's a case : I want to make login screen and it will block Ctrl+Alt+Del Combo. So far I've known that I need to alter registry key "DisableTaskMgr". It work well when I compile it on my PC, but when I try it on another computer as user, not as Administrator, I got message that registry access (write) is forbiden. So I think I need to know if program runs in Administrator mode or user mode. How I determine that using C# At first I think that Ctrl+Alt+Del is disabled for user mode, but at that PC, user can run Ctrl+Alt+Del and regedit, but still can't execute rktm = rkHKCU.OpenSubKey(TASK_MANAGER,true); so I can alter "DisableTaskMgr" valu ...Show All
