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

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

JK302

Member List

lvxq18
Conrad Rowlands
Soheil Saadat
Herdez
Eric Kehr
OliWan
Rajul Aggarwal
m1ch3ll3
mikestc
Adam Magee
Benno_GER
Subodh Chettri
GilM
ScottDKoder
teppi
Mike Wasson - MSFT
stebe000
mindcooler
imate_bluetooth
Brian Sullivan
Only Title

JK302's Q&A profile

  • Windows Forms Clickonce download Error

    When I try to download application using Clickonce in the same machine as my project, I got the following errors. Other end users can download it and work fine. Can someone help me with this Thanks a lot PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://commelpc78/SpyCon/SpyCon.application Server : Microsoft-IIS/5.1 IDENTITIES Deployment Identity : SpyCon.app ...Show All

  • SQL Server How to truncate the log file

    How do I truncate the log file using TSQL   My client's log file is 44 gig and there isn't enough HD space.  Thanks I have found that the following will work in the "out of disk space" scenario: BACKUP LOG database_name WITH TRUNCATE_ONLY Then, after you run that command, shrink the database using: DBCC SHRINKDATABASE ( database_name ) Hope that helps. Darren ...Show All

  • Visual C# Set form background color

    I've created key in registry where background form color is saved (in format: ff8f8f8f, and string key is called myKey). The code which saves color in registry is: if(cd1.ShowDialog()==DialogResult.OK) { string boja= cd1.Color.Name; RegistryKey regkey; regkey=Registry.LocalMachine.OpenSubKey(@"Software\myProject\1\options",true); regkey.SetValue("myKey",boja); regkey.Close(); } What I want is, when I start my Form1 to BackColor be set to myKey value. Can you help me! Thanks private void Form1_Load( object sender, EventArgs e) { RegistryKey regkey = Registry.LocalMachin ...Show All

  • Visual Basic Filter data from text

    I have an error log that is saved by some software as a text file. Currently my program allows you to open a text file and it shows the information in a text box. I want to sort through the text box for key words so I can filter out what I want for data, for example here is some data in the text file error log: Data on me this is just filler data; blah blah 21:06:14 Copying BOM from Part:123212 Part revision for sub assembly was not found. Request Cancelled Looking for revision of Part:123212 Error copying BOM . More filler data just to show example I want to find the Error copying BOM and get all the data ABOVE it until I see the words Cop ...Show All

  • Smart Device Development Can I draw 3D objects by C# (cf 1.1)?

    Hi everyone, I need to do a really simple and samll 3D universe in a pocket pc 2003 using c# in .net cf. I was searching on google for hours, but I couldn't find any related resouced about that, I have a reference book but all the drawing method are 2D, anyone can help me of that, really appreciate! Many thanks! Ray and I don't see I will develop other 3D app soon in ppc so I don't want to buy another pocketpc just for one program, and I also need cf 2.0 too..... ...Show All

  • Visual Studio 2008 (Pre-release) Grid size inside UserControl

    Hey I was wondering if someone could help me with this problem, as I have been working on it for the course of the whole morning. Its probably something really simple but I just can't figure it out. So, I made a UserControl with XAML. Which is right here... Try adding HorizontalAlignment and VerticalAlignment to the UserControl definition tag itself. The grid is going to size to the UserControl, and it is currently going to size to its content, not to the enclosing element. I have not tried this myself, so this is only a suggestion. ...Show All

  • SQL Server SP with SSIS and 2005 database

    I have issue with SSIS performance, when SSIS is used with SQL server 2005 database engine as backend, it takes long to execute procedure but when SSIS is used with SQL server 2000 database as backend, procedure execute in expected time frame. (No delays are faced.) Kindly suggest. Thanks Rohit Wason How are you executing the procedure When you say "procedure", do you mean a stored procedure What does it do Where is the bottleneck If the performance degredation is due to the differing database engine then why are you posting on a SSIS forum Why do you think this is a problem with SSIS ...Show All

  • Visual C# How to POST a winform information to a webform?

    In our product registration process, I want to use winform(instead of webform) to POST (just like <form method="post" ...> in web form) the filled information.  The target is a .NET 2.0 webform that will show the filled information.  Is it possible to do this Thanks. Yes take a look at the WebClient class ... you can have the winform build a http request and push it to your webserver. Cheers, Greg ...Show All

  • Visual Basic link tooltip with label at runtime

    I'm creating a label at run time .. and I have already added tool tip tool at designing time to the form how can I link that label to the tooltip!!! Do you mean how do you get the tooltip to have the text of the label, or to show on the label Either way, the syntax is tooltip1.SetToolTip(myControl, "my tip") apparently http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfSystemWindowsFormsToolTipClassTopic.asp ...Show All

  • Visual Studio Team System Opteron optimization / Profiling

    Hi all We currently use Dual Xeon for a production server, but would like to change to Dual Opteron to get even faster speeds. Dual Xeon 3.8Ghz CINT2000 42.1 CFP2000 32.7 Dual Opteron 280 system CINT2000 75.6 CFP2000 82.4 My question is if the optimizer of Visual Studio Prof. 2005 will generate optimized code against the Opteron, and will the profiler work with Opteron (Intel VTune only works with Intel Chips). thanx, Soren Soren, I can't speak to the generation of optimized code on Opteron, but as a developer on the profiler I do know that the profiler does not support profiling on Opteron using a 64-bit OS. If y ...Show All

  • Visual Basic Checking for optional parameters in a function

    I just seem to be generating questions today. I have a function (UpdateNode) which can be used to write back data to a database.  The function accepts a number of optional parameters depending on what the user wishes to change.  These Parameters are: StructureID - Mandatory (key field) Description (String) Name (String) ParentID (Int) isTeam (Boolean) Where no parameter is specified, then I don't wish to touch what was already in that column on the database.  I have managed to figure out how to check if all the parameters have been given except for the boolean values.  There are two valid options for the isTeam- True or f ...Show All

  • Windows Forms Is this legal for me to do this?

    If not, i will happily stop, but right now, i am having a blast with Terrarium in .Net 2.0. http://tanderson.cbs-posi.com/MyTerrarium/checkmeout.jpg Just don't tell the C# coders They will probably scream blasphemy and other curses. ...Show All

  • Visual Studio Tools for Office UDF in Excel XP with C#

    HI All I'd like to write UDF in Excel XP using Visual C# Express Edition just downloaded. I'm quite new to C# so I searched on the web for some examples, and I found this http://blogs.msdn.com/eric_carter/archive/2004/12/01/273127.aspx . I followed all the steps suggested (I do not post the code because it's exactly the same you can find in the article above), added the Automation Add In to the Excel Add In list. Then I put into a cell on a blank sheet my sample function created in C#. Result : #NAME ie Excel does not recognize my function. I checked in the functions' wizard and there is not the category AutomationAddin.MyFunc ...Show All

  • Visual Studio Necesito los merge modules de crystal reports 2005

    Estoy implementando una aplicacion con crystal reports 2005 pero tengo problemas a la hora de abrir dicha aplicacion. Creo que tengo que actualizar los merge modules de crystal e incluirlos en el instalador y para eso los necesito. Para probar si es o no el problema. ...Show All

  • .NET Development object in AppDomain

    How can I create an object in a given AppDomain The CreateInstance method does create object with given activationAttributes but I want to pass some arguments to the constructor. ...Show All

©2008 Software Development Network