NewbieK's Q&A profile
SQL Server Conversation Timer versus LIFETIME
I need to follow up on a message and check on its status. I am planning on using Conversation Timers (self addressed). I've tried it and they do work well. I am wondering if the LIFETIME parameter can be used for the same purpose. If the dialog has not been closed and the LIFETIME expires, will a message be queued into the service's queue It does not seem that this is the case, but it is worth checking, as it could be a much desired feature. Thanks, Thanks, is there documentation that describes all the queue columns and how to interpret them ...Show All
Windows Forms Designer Support when Control has abstract base class
We have a set of user Controls that must derive from an abstract base class BaseControl. BaseControl itself is derived from UserControl. Is there a way enable designing and modifying those user Controls in the VS 2005 Forms designer AND have them derived from an abstract base class Currently we get this Excpetion when trying to open those user controls in the designer: The designer must create an instance of type XYZ.Controls.BaseControl' but it cannot because the type is declared as abstract. at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink) at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSe ...Show All
Smart Device Development Breakpoints do not get hit...
Hello, a colleague has big troubles debugging compact framework 2.0 applications from his VS2005 environment (to be more specific: he has hijacked my PC because the troubles do not occur there ). The problem is that every CF2.0 application he runs will not break when run on a device, but the same application runs and hits the breakpoints on the device emulator. It doesn't matter if it is a big multi-project solution or just a simple little HelloWorld project, the debugger just isn't interested in breakpoints anymore. We searched over this forum, but none of the solutions work for him. Some of the things we found and tried are: Deleting de bin/obj folders. Showing the Debug toolbar. ...Show All
Software Development for Windows Vista Windows work flow VS extensions - install error message
During the install of WWF RTM I get this message: The installer has insufficient privileges to access this directory: C:\Config.Msi. The installation cannot continue. Log on as administrator or contact your system administrator. When installing the WWF I am logged in as Administrator, also there is no Config.msi fileu nder the C:\ root on my PC. I clicked re-try and the installation continued and gave a sussessful message at the end. I checked the log file and the error was recorded. I am able to open VS2005 and can see the WWF templates Also able to create Workflow projects! Has anyone else seen this error. I also got this error during the Windows SDK install Any ideas -javahar E ...Show All
Visual Studio Express Editions Filter Question
I have a datagridview with a column that contains values such as "3/50" or "175/300". The values are serial numbers. The column could also contain a Null value if the record does not have a serial number. I want to filter the datagridview where the column values are less than, equal to, or greater than the number after the "/". In other words, I would want all the records where the serial number is 50, or less than 50, or greater than 50. I found the code to isolate the number after the "/", but I don't know how to use that to filter the datagridview. Here is the code I have so far: For i = 0 To List_Screen.Player_InfoDataGridView.RowCount - 1 SNText = List_Screen.Player_InfoDataGridView.Rows ...Show All
.NET Development system.web.mail works, system.net.mail fails
I'm still fighting this changeover to system.net.mail. I have the same error message you showed above. I have a web page that sends the same email text two different ways, or tries to. This one (using real addresses) works: System.Web.Mail.SmtpMail.Send("me@there.xyz", "you@there.xyz", "subject of my email", "body of my email") This one does not: Dim sc As New System.Net.Mail.SmtpClient() Dim message As New System.Net.Mail.MailMessage() sc.Host = "localhost" sc.Port = 25 Dim fromAddress As New System.Net.Mail.MailAddress(txtFromAddress.Text, txtFromName.Text) message.From = fromAddress message.To.Add(Me.txtToAddress.Text) message.Subject = "testing smtp at ...Show All
Visual Studio Looking Up Values In Other Fields
Good Morning, Just can not get my head around the following and am sure there is a simple way around this. In Crystal reports, I just want to create a lookup-type formula which will display a certain value from the same table. Example: Ref Value IF R ---- ------- ------ 10 £100 £500 11 £200 £0 12 £300 £600 R10 £500 £0 R12 £600 £0 So simply, at each line, the 'IF R' formula would in turn look at the ref fields and display the Value if there is an existance of an R** ref. Would I have to create a subreport to achive this Thank you in advance for your response. Paul Carruthers If the "R" is always in front, you could use a formula if left({usp_rptReport;1.Ref},1)="r" th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. "Indie" Game Development on Xbox 360 and PC
I would really like to thank microsoft for making this happen, obviously a few of us were hoping that it would. Now its up to the comunity to come back and make some killer products for the 360. ...Show All
Community Chat Developer Solutions team needs you! Well your ideas anyway...
Hi everyone, I'm a PM on the Developer Solutions team (I work with Joe), and I need some input from you all. I'm putting together a roadmap for some of our future Power Toys work, and we need some good ideas. I've posted about what I'm looking for over on my blog so if you're interested in helping us out, pop on over and check out my post. Thanks in advance for all the great ideas I know you'll send us. :) -Jeremy Kelley My company produces a lot of generic estate agency websites by using a template website and then "branding" it for the specific estate agent using theming. There may already be a way, but it would be nice if you could apply a theme to the designer view of Visual Studio ...Show All
Smart Device Development Custom Control Project load issue ...
First of all i posted this issue here, because it has todo with custom controls under vs2003 and CF 1.1! The problem i have is concerning a custom button i made. I created a cButton.dll and a design.cButton.dll. The first is included as reference to my project, the second one is used to add my cButton to the toolbox. So far so good, no problems here. I created a form and added one of my cButtons to it. I saved my project and compiled. Everything went ok. Then i closed my project, re-opened it and tried to compile again !! but without any luck. It failed, giving the missing assembly issue... After a long search, i closed my application again, opened my project in a text editor, and removed the reference to the design.CButton.d ...Show All
.NET Development Get Ressources of a referenced assembly
I have an simple assembly A that refernces (linked) another assembly B that includes ressources (png files) that I want to use in assembly A. I included the png images into assembly B just via Visual Studio --> add new item --> build action --> embedd as ressource. When I look into assembly B using .NET refelctor I find the ressource directly under the ressources folder: public resource MyNameSpace.MySubNameSpace.FileFolderName.ImageFileName.png how can I acess this file in assembly A. I suppose I have to use the RessourceManager but I fail to find the correct parameters for its contrsuctors. Hi, If you don't like to add a reference to the B Assembly you can use the follwing code : Assembly b ...Show All
SQL Server CREATE ASSEMBLY error: could not be installed
I ran the following: CREATE ASSEMBLY A3rdPartyDLL FROM 'C:\Program Files\3rdPartyComponents\3rdParty.dll' WITH PERMISSION_SET = EXTERNAL_ACCESS and got the following error message: Assembly 'A3rdPartyDLL' could not be installed because existing policy would keep it from being used. How can I change the 'existing policy' I've tried all three: SAFE, EXTERNAL_ACCESS & UNSAFE. I get the same message everytime. But, thanks for the link. ...Show All
SQL Server Backup DB to LocalMachine
alslamo alikom... hope u all be in a good health... ok...my problem that i have a client application that designed to adminstrate the DB server using SMO... now iam trying to backup the desired DB from the DB server which is another machine connected to the same network... i specified the file name and the DB name....and every thing runs smothly with no exceptions....but no file generated in the client machine....and no exception were thrown .... wish to have a solution soon plz....thx for ur time... and here is sample code: public bool BackupDB( string dbName, string backupFilePath) { try { // Create a new backup and specify what to back up Backup backup = new Backup (); backup.Acti ...Show All
SQL Server External Activation and Receive Timeout
I have a set of service broker services setup that rely on external activation to process messages. I'm using the GotDotNet ExternalActivator, and it launches console applications that do the actual retrieval from the queues. The console applications are written to run continuously to avoid the cost of starting up .NET based console apps over and over again. I am observing very odd timing behavior. With the receive queues empty and the external activator configured to run a minimum and maximum of 5 instances, I observe in SQL Profiler that most of the receive operations finish in about the same amount of time as my WAITFOR command in my receive stored procedure. However, there is usually one receive command that consistently takes upwar ...Show All
Visual Basic Open .exe from Resources?
Is there a way to add a program to your resources and use this codes to open it Private Sub TestToolStripMenuItem_Click ( ByVal sender As System .Object, ByVal e As System . EventArgs ) Handles TestToolStripMenuItem . Click Process . Start ( "C:\ Resources \Another.exe" ) End Sub The code above shows you how to take a stored executable resource and then execute it ...It may not be the most direct method but it is definately the simplest ...Show All
