Software Development Network Logo
  • Architecture
  • Smart Device
  • Visual Studio
  • SQL Server
  • Game Technologies
  • Microsoft ISV
  • Visual FoxPro
  • Windows Forms
  • Windows Live
  • Visual Basic
  • Visual J#
  • Visual C++
  • .NET Development
  • VS Team System
  • Windows Vista

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

Jufeng

Member List

qtvali
Jazman
AbhishakeL
Andrey33
RTEKI
Jarrod-Brotherton
Stormsys
cathalconnolly
Gil Shalit
P.D.
Pradeep C
WOLF2007
artzoop
askgy
justintime
PRIDE
futelihut
engeky
Sukirman_J
# broxi #
Only Title

Jufeng's Q&A profile

  • Windows Forms MDI child size

    I have a MDI child with size of 1024x768. I launch the application into a 800x600 resolution. I want my MDI child to preserve its 1024x768 size but it looks imposible. It is streched to 800x600 and it does not even show scroll bars. Anyone knows a solution to this problem  It would be greatly appreciated. Thank you all, Lucian ...Show All

  • .NET Development Mutex could not be created

     Hi, we cannot get the debugger to work with asp.net 20, i get the Unable t ostart debugging on web server. The web server is not configured corretly. we have currently ran the aspnet_regiis -ag <username> command to make sure that aspnet aspnet account and logged in user account have right to metabase. but now we get teh following error.   Server Error in '/GreatHireNet' Application. I had the same problem, and I solved it using the solution of the post of this forum: http://forums.asp.net/1109781/ShowPost.aspx Basicly: - If you have visual studio 2005 is open, close it - Go tot the ASP.NET temporary folder for v2.0 of ...Show All

  • Visual Studio Error with MSBuild and Hatteras client

    Here's a chunk of my buildlob.log file.  Is anyone having problems like this Using "CreateWorkspaceTask" task from assembly "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.Hatteras.MSBuild.dll". Task "CreateWorkspaceTask" C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamBuild.targets(86,5): error MSB4018: The "CreateWorkspaceTask" task failed unexpectedly. Microsoft.VisualStudio.Hatteras.Client.MappingConflictException: The path D:\ColwebAutomatedBuild\COLWEB2\Just Build\sources is already mapped in workspace TFBUILDSVR_COLWEB2_Just Build.    at Mic ...Show All

  • .NET Development Paging Nested DataList

    hi all, i am using nested DataLists. I want to apply paging. How can I do that. As we add a Relation while using nested DataLists. And for that we run 2 different queries which bring data from 2 tables(Parent & Child tables) My code for nested DataLists is as follows: sqlcon= new SqlConnection(); sqlcon.ConnectionString=System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"]; sqlcmd= new SqlCommand(); sqlcmd.Connection=sqlcon; sqlcmd.CommandText="DirectoryFillCategoriesPop"; sqlcmd.CommandType=CommandType.StoredProcedure; sqlcon.Open(); sqladpt= new SqlDataAdapter(); sqladpt.SelectCommand=sqlcmd; ds= ne ...Show All

  • SQL Server How can I assign a value to a textbox programmatically in a report?

    For example: If I want to display the date today, txtDate.Text = DateToday; There is no way other than assigning a expression to the Textbox. The "MS Access way" doesn't work anymore ;( You can do something like: =iif( some_condition = true, System.DateTime.Now, "No Date") or create your own function: Add Public Function myFunction(val as Object) if val is Nothing then return System.DateTime.Now return "Empty" End Funcion to Report-Properties->Code and call it by =Code.myFunction(Fields!ConditionColumn.Value) ...Show All

  • Smart Device Development Power on File.Copy problem

    Hello, while testing a application i came across a File.Copy (C#) call that does not work correctly. The problem is that the call is made a few seconds after the device got a wakeup signal. Something really weird is going on. I cannot say why the exception that is thrown: System.IO.IOException: IOException at System.IO.__Error.WinIOError() at System.IO.File.InternalCopy() at OurFirm.Backup.Backup.CopyFile() at OurFirm.Backup.Backup.ExecuteAction() at OurFirm.Application.ExecuteBackup() ...gets thrown. Okay, my destination is on a Storage Card, but i can access files on it using the explorer. I guess the card is mounted correctly because eve ...Show All

  • Visual Studio Team System echoing comments in webtest output

    I like being able to put comments in webtests to keep track of things. What I would really like to see is these comments echoed, at the appropriate places in the output from running webtests. Is there a way to do that with RC1 ...Show All

  • .NET Development Problems implementing a Data Provider in VS2005

    We had a working Data Provider coded in C# using VS2003. The same code gives a problem in VS2005 and I'm hoping someone here can help out. Sample code: DataSet ds = new DataSet (); TTDataAdapter da = new TTDataAdapter ( "select name from master..sysdatabaseinfo", m_Conn ); da.Fill( ds, "Table1" ); This will raise an exception when the data provider is compiled in VS2005: [System.ArgumentException] {"Type of value has a mismatch with column typeCouldn't store <master> in name Column.  Expected type is RuntimeType."} I have checked everwhere I could and the name-Column's DataType is "System.String" as it s ...Show All

  • Visual Studio Team System Problem in changing the System.AreaPath Field in Work Item.

      Hi, We customized the MSF Agile Template according to our project requirement. Now when we create a new Work Item we now want to make the "Area Path" field to accept the values from given by the user who is going to create the work item. But the problem is that it is by default displaying the project name in that field and if the user  want's to changes the value it is not allowing him to do. We placed the following statment in the following way in our WorkItem Types for this field.  <FIELD name="Area Path" refname="System.AreaPath" type="TreePath"/> We want this "Area Path" field to be a mandatory fi ...Show All

  • Visual C++ Sealed classes

    How can we implement sealed classes in C++ If you make all constructors private, then nothing can inherit from your class.  To still allow creation of objects, you need to add static methods that return instances of your class. ...Show All

  • .NET Development System.AccessViolationException in .NET 2.0 ServiceBase sample

    Hi I am trying to get the sample code at   http://msdn2.microsoft.com/en-us/library/5xh5cfw0(en-US,VS.80).aspx up and running, but  get an AccessViolationException. The exception occurs  where a call is made to [DllImport("ADVAPI32.DLL", EntryPoint = "SetServiceStatus")]         public static extern bool SetServiceStatus(                         IntPtr hServiceStatus,                   &nb ...Show All

  • Visual C# VS 2005, enable in-method code folding

    Hi, I just switched from Visual Studio 2003 to 2005 and am currently doing C# development. VS 2003 allowed for code folding within methods. You could fold any block within brackets. However, in VS2005, I am only able to fold methods and the like. Is this feature on longer present or can I turn it on   Thanks, John Hi, I'm also very much interested in this feature. Anyone could help Thanks, Carlos ...Show All

  • Visual Basic Visual basic 2005 Express - DLL/package Question

    Hi all, Apologies if this is in the wrong forum. I'm a first time user of VB Express, having decided to take advantage of the year long MS offer for hobbyists to learn the trade. As such, if I try the patience with questions the are potentially rudimentary to some of you, please bare with me. Here's my concern. A while ago I sent some sourcecode for an application that was written in VB6. These include the .vbw/.vbp and whatnot files. I don't have access to VB6 and have thus tried updating it via the wizard in my Express edition. The only option I've got when doing so is to upgrade the sourcode to an executable. I designate a new destination ...Show All

  • Windows Forms CaptionText in DataGridView

    hi all, I am using DataGridView in my form, I want to set some Caption to the Grid, to know the user what this grid meant for, In the previous version of the DataGridView i.e. DataGrid there is property name "CaptionText" for setting the caption to the grid, but i do not saw any such property in the DataGridView, can anyone tell me the way how to set the CaptionText for the DataGridView. Thanks in Advance -Rahul If you are binding data from DataTable then it will automatically set the column name in DataGridView same as the column name in your DataTable. Andy ...Show All

  • .NET Development Email Priority

    In the new System.Net.Mail.MailMessage object, I do not see a way to set a message's priority. If I recall correctly, this was in the older model found under System.Web.Mail.MailMessage. Any ideas as to how to a a MailMessage's priority Thanks. John Try this: 'assuming message is your MailMessage obj message.Headers.Add("X-Priority", "1 (Highest)")   Possible values : 1 (Highest) 2 (High) 3 (Normal) 4 (Low) 5 (Lowest) 3 (Normal) is default if the field is omitted. wilfridB ...Show All

©2008 Software Development Network