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

Software Development Network >> Jerry D's Q&A profile

Jerry D

Member List

Bob Everland
Anne292
ScottC1967
Tuyen Tran
FuZi0n
P. RICHARDOT
J Davis
Marc L. K.
wesogs
Erik Jorman
Mike Bonfiglio
Christo1409
lallousx86
Matt T.
kjellj
BenniG.
Peter Mortier
Keshri
chris.p
B Duper
Only Title

Jerry D's Q&A profile

  • Windows Forms .net 2005 Setup Project ... help

    Here's my scenario. I have created a setup project in VS2005. Using the file system editor I have added some non essential files and folders in the application folder (image files, doc files, etc.). I also created a shortcut to the primary output exe and placed that shortcut in the user's desktop. After installation, if the user deletes one of the non essential files and clicks on the shortcut to the primary output that was created by the installer, the installer runs anew as if to repair the installation. If the user clicks the primary output or manually creates a shortcut the installer will not be invoked. ...Show All

  • .NET Development Using System.Net.Mail class to send mail.

    Hi, I was coding a class to send mail via SMTP, but I found that in Framework 2.0 you have System.Net.Mail to do that task. The classes works fine to send mail on a server that does not require authentication. Unfortunatelly, I can't get it to work on a base64 encrypted server. The process of logging in that type of server is easy, so I expect an bool attribute, let's say, "IsAuthRequired", but it does not exists. From what I've read on MSDN documentation, the way to do that is to have UseDefaultCredentials to false, and Credentials must not be null. The problem is that my code do have both these requeriments, but I still can ...Show All

  • SQL Server Transaction log keeps growing

    I have set the dboption 'trunc. log on chkpt.' to true; yet the transaction log keeps on growing. sp_dboption pubs_db does show 'trunc. log on chkpt.' to be set. I tried DBCC SHRINKFILE ( pubs_db_log , 100 ) and for a while, the pubs_db_log.ldf was about 100M and then it grew to 10GB. I have a process running that is inserting more than 15K rows per hour and I would like to keep the transaction log from growing. How do I control the tx log growth Jason -  Did you have a chance to analyze the problem and collect the data we asked for   Please let us know your answers to the questions aske ...Show All

  • Visual C++ Help on choosing the right product

    Hello, I'm facing the problem of choosing the right product for my developer's group, and I find myself somewhat confused. First of all I'd like to use a stable and tested product, not a beta one, so I excluded the upcoming 2005, because the Beta 2 version to which I gave a try presents a long list of bugs and annoyances at the moment, and there's too much uncertainty on its real final release date. So let's go with .NET 2003, for now... We use only C (maybe C++ in the nearby future) to build a stand alone application for Windows; we don't need support for Web Applications and deployments, distrib ...Show All

  • Visual Studio Express Editions Error .exe is missing question

    I'm geting the error messege "Video Studio cannot start debugging because the debug target 'C:\\documents and settings\name\local setings\application data\temporary projects\ConsoleApplication1\bin\debug\consoleapplication1.exe is missing. Please build the project and retry or set the outpath and assembly name properties appropiately to point at the direct location for the target assembly." when i try to run a simple hello world program. How do I fix this Well, that's the problem. If you do a build, you'll get an exe. If your build fails, you won't have an exe. To check, go to the path it's lookin ...Show All

  • Visual C++ Need help with a program...

    Hey everybody. I've written this program and cannot figure out why it won't work. Here are my requirements... A teacher wants a program which will test students’ memory of the values of small integers squared. She asks for a program which prompts the students for an integer. It then asks them for that number’s square. If their answer is correct they are congratulated if it is incorrect the correct value is given. Because she wants the class to practice with this she asks that the program continue to prompt the students until they enter the integer: 0. The program will then thank the student and terminate. INPUT: ...Show All

  • Visual Basic How to read and write text files?

    My question is how to read the content of a text file into my programme, and write it into another text file created by the programme. Could anybody tell me the most common method of doing that Thanks in advance! By the way, where can I find a good online tutorial for VB6 The File System Object is still the way to do this Why have you decided to stick with VB6 instead of downloading VB.NET Express VB6 is unsupported, out of date, and IMO hideous... http://www.google.com.au/search hl=en&q=VB6+file+system+object&meta = tons of tutorials on the file system object :-) ...Show All

  • .NET Development Security problem

    Hi, I have an application call myApp.exe which is a vb.net application This application call another application call importCable.exe Both application are on the same Server if i double -click on importCable.exe the application start and do what it is suppose to do But when importCable.exe is call from the myApp.exe application I have a security error I call the application importCable.exe from the myApp.exe with this line: Call Shell( \\myserver\mySharedFolder\ImportCable.exe , AppWinStyle.NormalFocus) The error message is : System.Security.SecurityException: Request for the permission of type System.Secutity. ...Show All

  • Visual Basic How do i print an object?

    after about 100 blank pages we decided to ask here. In the end we want to print a grid, perhaps on multiple pages, but if we find out how to even print a basic object we should be able to figure it out from there. thnx... MrFaith Hi, here are some samples on how to print: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpqstart/html/cpsmpnetsamples-windowsformsprinting.asp Perhaps you could provide some code so that we could point you to you're misstake. ...Show All

  • Visual Studio How to support the Web Site

    Hi Everyone We think that there is no document in SDK though we want to support the Web  Site for my own language Can you support the web site for my own language The Web site is not supported in C++. Is the support of the Web site possible in the languages other than C#, VB, and J# Best Regards. Shinya Watanabe Supporting languages other that VB, C# and VJ# is supported, though there is not a lot of documentation on how to do this. The best thing is to contact someone from the VSIP program to see what documentation is available. See the following website or more information on the VSIP program: ...Show All

  • .NET Development TreeView Control Customization help

    I am trying to customize the TreeView control in asp.net 2.0 within VS2005 Beta 2. I have successfully been able to add different custom images to the parent node non-selected, parent node selected, and child node non-selected. However, when i can not seem to get the child node selected image to change properly. I do not know if i am simply trying to change it incorrectly or if it is not possible, or if it simply is not working. Could you please help me out. The goal is for a simple image to change colors after it is selected. I.E. parent node goes from blue to grey when selected and the same for the child nodes, only different images. From ...Show All

  • Visual Basic Streaming text from a view to a file.

    The following code is supposed to place data rows from a SQL Server 2000 view (vwExport) into a text file: G:\doc\Output.txt. The compile error I get is: 'Application.ApplicationDataSetTableAdapters.vwExportTableAdapter' cannot be converted to 'System.Data.DataTable'. Code: Dim strExport As String = "" Dim strExportFile As String = "" Dim x As DataView = New DataView(VwExportTableAdapter) Dim z As Integer Dim y As Integer For z = 0 To x.Table.Rows.Count - 1 For y = 0 To x.Table.Columns.Count - 1 strExport = strExport & x(z).Item(y).ToString & vbCrLf Next strExport = strExport & vbC ...Show All

  • Visual Studio 2008 (Pre-release) What is the equivalent of UnknownFaultException in WinFx Beta 2?

    Hi, one of the breaking changes in WinFx Beta 2 is the removal of the UnknownFaultException. I would like to know what is the equivalent class in Beta 2. I have this snippet if (exception.Contents.HasDetail) { //Do Something here } The FaultException does not have the Contents property. How can I have the same if clause in WinFx Beta 2 Thanks in advance It was remove between Jan and Feb CTP versions. Try using FaultException instead. ...Show All

  • Windows Forms SplitContainer Resizing when dropped into a form

    I have a relatively simple test application to learn about Whidbey.  And SplitContainers are breaking all my sizes: I have a Main Form (main). I have a UserControl (uc). uc is AutoSize/GrowShrink. It contains a TableLayoutPanel which is also AutoSize/GrowShrink. It has one column that is AutoSized. If the cells of the table contain controls like labels and buttons, the width of the uc is 200. When I drag and drop uc into main, its width stays at 200. If the any cell of the table contains a SplitContainer of width 200, when I drag and drop uc into main, it's width jumps to 379. This width of 379 is only occuring in design mode of ma ...Show All

  • SQL Server SP1 Installation Failure for Reporting Services Instances

    The upgrade was alright for my first/default instance of reporting services but failed for the other 3 non-default instances. I was running SP1 using remote desktop connection. I got the following error at the report manager and the reporting services configuration's initialization. Is there any way to get around this The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'C.0.8.40'. The expected version is 'C.0.8.43'. To continue, update the version of the report server database and verify access rights. (rsInvalidReportS ...Show All

©2008 Software Development Network