Software Development Network Logo
  • SQL Server
  • Visual Studio
  • Windows Vista
  • Visual FoxPro
  • VS Team System
  • Smart Devicet
  • Visual Basic
  • Visual C#
  • IE Development
  • Audio and Video
  • Visual C++
  • Game Technologies
  • .NET Development
  • Windows Forms
  • Microsoft ISV

Software Development Network >> JK302's Q&A profile

JK302

Member List

John Wesley Harding
SamB42083
Tryin2Bgood
Veerakondalu
AustinMyers
The MaiN MaN
Anderss22
SOAC
Tryin2Bgood
NM156
Cristian Rosa
DavidThi808
Karim Hemani
Dileep Agarwal
Marc Developer
Deltaxp
Joos
Rob MacFadyen
bjkaledas
enric vives
Only Title

JK302's Q&A profile

  • Visual Studio Team System Can I convert a normal C# project to a C# test project?

    I would create a C# test project at first, but by mistake, I create a normal C# project. Can I convert the project type I could not find the difference in project files for different project type. Thanks Hello, The template for a C# test project and other C# projects are different, and we do not provide any tool to convert them. A test project has assembly file dependencies, as well as some references that need to exist in the environment. What you can do, however, is add a test project to your current solution that contains your other C# project. Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All

  • Visual Studio Express Editions Inivsible Button

    Hi, Could someone tell me how to make a button that isn't seen to the user, but still can be pressed If i use button1.visible = false then you can't press it. Thanks in advance, Josh I am showing you the 'InitializeComponent' partial class first. That part is normally created automatically as you add things to your form. The Form1 code (the code the programmer normally types) is the last little part at the end. ...Show All

  • Visual Studio 2008 (Pre-release) Creating runs as the user types

    I like to put each word the user types into its own Run object so I can easily style each word programaticly later. I've had serval stabs at this and I seem to be making hard work of it. Does any one have a nice simple solution Cheers, Rob the problem you are likely facing is that the runs merge for optimization purposes. What you can do is when you detect a word set a property on it so that the adjacent run doesnt merge with it... a possible property could be language unles you want to use a speller... anyway this is one approach... ...Show All

  • .NET Development Generate and read config data in XML form

    I was just wondering if XML can be generated and parsed very simply. I need to write a number of operating parameters into a file before my app exits, and then read them back when the app starts again. Can this be done in a very automated fashion by generating XML into a file I am exceedingly lazy and would hate to have to write code to parse parameters in traditional Windows dot ini file format. Sounds like a task for the a User Settings action . The settings file, which is written in Xml, is used for such purposes like reading in a value at start and saving it on close with minimal effort on the developers part.... See Using Settings in C# . ...Show All

  • Visual Studio Express Editions Axecontrols and Base64 Strings

    Hi all, I am building an app that uses an axecontrol which lets people sign their names electronically into said axecontrol and a method which takes the image of their signature and turns it into a Base64 string. I'm trying to save it into an access database, but it's not working. When I try to save it as the base64 string, it tells me I need to change the field type (in the database) to Base[ ]. Alternatively, when I try to convert the Base64 string into a normal string to save in as a string in the database, it gives me the error message 'Invalid character in Base-64 string'. Anyone have any ideas on how to proceed from here Please Ok, They are using DAO not ADO and this is not a discussion in dyslexia. There are lo ...Show All

  • SQL Server logins

    How can I write a script to generate the list of SQL users that have sysadmin privileges. I would also like to do the same for the windows accounts as well. Please let me know. Thanks. Note that both queries in the above answers will miss Windows users that are not "directly" sysadmins, but inherit their sysadmin property from a Windows group to which they belong. Thanks Laurentiu ...Show All

  • SQL Server sum report item

    Is there anyway to sum a value that resides in a textbox ie; =Sum(ReportItems!MyTextBox.value) I ended up writing a custom assembly to accomplish the very rare " using subtotal in a report" Here is a link that helps with the differences between 2005 and 2000 http://support.microsoft.com/default.aspx/kb/920769 ...Show All

  • Visual C# VS 8 Performance makes it unuseable

    Hi, We have converted a large c# solution with 12 projects and about 60 Mb of code from VS7 to VS8 and find that working in the IDE is impossibly slow. We are running on a P4 3.2 Ghz 1 Mb RAM with Windows XP SP2 (clean install). It seems slow in all areas of development. The only area where perfomance is as good or better is in running the release code. So far it's a major backwards step when compared to VS 7. Is anyone else experiencing this or does anyone have any advice on how to make developing large projects in the IDE at least as efficient as it was in VS 7 Regards Steve Crabb GeorgeT, Stephan - Would either of you mind sharing your project so that we can repro this on our side   (I r ...Show All

  • Visual C# What is the proposed way to define references in .NET?

    Status ------ Currently we use two different methods to define references between managed components, namely project references and .NET references to reference assemblies (details below).  Both methods are not fully satisfactory.  We would like to know: (a) Is there is a better referencing mechanism available in VS8 (better than the ones described below), or (b) does MS plan to change the support for references in future versions of VS.   Example Solution ---------------- ProjectA --> ProjectB   The source tree (after building) looks as follows: Bin   ReleaseU     ProjectA.exe     ProjectB.dll   DebugU     ProjectA.exe     ProjectB.dll Ref.Net &nb ...Show All

  • Visual Basic ICustomTypeDescriptor and the property grid.

    I'd like to extend the property grid to do things such as allow me to change DisplayNames of properties at run time and to sort properties into the order that I want. I understand that I should implement ICustomTypeDescriptor but am getting nowhere. For instance the following code doesn't have any effect: <System.ComponentModel.TypeConverter( GetType (SpellingOptionsConverter))> _ Public Class SpellingOptions Implements System.ComponentModel.ICustomTypeDescriptor Public Function GetAttributes() As System.ComponentModel.AttributeCollection Implements System.ComponentModel.ICustomTypeDescriptor.GetAttributes Dim r As New System.ComponentModel.DescriptionAttribute( "UUU" ) Dim f As N ...Show All

  • SQL Server Force to complete query, ignore errors

    Hi, I have a big table and want to make a plausibility check of it’s data. Problem is, that my query stops, if there is an unexpected datatype in one of the rows. But that is it, what i want to filter out of my table with that query and save the result as new correct table. How can i write a parameter to my query SQL Code, that if a error occurs, the querry resumes and the error line will not displayed in my final querry overview In my books and on the net, i don’t found something to this theme ;-(. Thx in advance. - how is the table outline The table has 30 columns with differnt data's in there. The datatyps are all nvarchar(50) after the flatfile txt Import. But there are some date, text, int ...Show All

  • Software Development for Windows Vista how to refresh window appearance..

    Hiya. I'm currently using win xp, and using the classic theme. My goal was to display the whole system with a 'flat' look (as opposed to standard 3d look), and this is achievable by modifiying the value of ButtonHilight, ButtonLight and ButtonShadow on the HKEY_CURRENT_USER\Control Panel\Colors\ so that they have the same value, so there is no white highlight or black shadow to create the typical 3d look windows default (by default, buttonhilight and buttonlight has the value of some bright colour, and buttonshadow has the value of a dark colour, so these colours will create the 3d look of typical windows forms. note that they can't be change through control panel->display->appearance) the problem is, if I want to experiment and ch ...Show All

  • Visual C++ Add property problem in ATL ActiveX

    Hello, I am using Visual Studio 2005 Standard Edition. I follow the MSDN tutorial of creating activex with ATL, but unfortunately in the property add step I get nothing. I am adding the property to Activex from Class View. But nothing changes in IPolyCtl.h and IPolyCtl.cpp. Can you please help me Best regards, Karakaya Please report this doc bug on http://connect.microsoft.com/visualstudio/ . Please include link to the topic in the docs. Our writers are going to verify what has to be updated in the docs. Thanks, Nikola ...Show All

  • SQL Server how can I use (contains) in stored procedeure?

    how can I use: where field_name LIKE '%' + variable + '%' in stored procedure I tried field_name = %@variable% but didn't work.. Use where field_name LIKE '%' + @variable + '%' instead of where field_name LIKE '%' + variable + '%' You need to add the "@" character to your variable name. Regards, ...Show All

  • .NET Development Triggering software/program

    Hi, i think i've asked this question before. There's probably a simple solution but i'm still a beginner trying to understand the language. I'm trying to trigger a software that i've installed into the PC under C drive program files but this doesn't work. System.Diagnostics.Process.Start ("C:\\ccdops.exe") The error says that the system cannot find the file specified. Help will be greatly appreciated! Thanks! As all other are saying, Simply file is not in the path you are specifiying, Let's try it: Create a textfile named "somefile.txt" put some text in it and copy this file to C:\ Not try this Code: System.Diagnostics.Process.Start("C:\\somefile.txt"); If ...Show All

©2008 Software Development Network