Phil_Ramos's Q&A profile
.NET Development Delayed send with smtpclient in .net 2.0
Is there any way to force the smtpclient to send mail immediately with the .send method in system.net.mail 2.0 Right now it takes anywhere from 90 secods to two minutes before the mail is actually sent once the .send method executes. I've tried setting the object to nothing immediately after the .send method call, but no luck. The real issue for me is the send delay is also causing the smtpclient to hold a lock on attached files that are ...Show All
Visual Studio Team System July CTP -- Where is Team Build Installed
On a Dual Server installation of the July CTP is Team Build installed on the database server or the services server. TIA Bob M. ...Show All
Windows Forms Setting Datagridview Styles Dynamically
Hi, As part of my learning of VB express I am stuck at the moment on setting the datagridview styles dynamically. I can change the default formatting colours etc but what I would like to do is change the colour of a complete row based upon the value of a given cell within that row. I have in my datagridview a number of rows where one row has a cell with the value 10. I would like to paint this row's background red to highli ...Show All
Windows Forms Converting character based application written in Script to GUI
How would I go about converting from a character based application written in Cache Object Script using Telnet clients that access a central database to a GUI client/ Cache server system. I would appreciate who ever help me to give a solution on&nbs ...Show All
Visual Studio Validation Framework
Hi all, First of all thanks to the DSL Team for the new validation framework! It works great and makes it very easy to code validations. Good work... But, I am having some questions about it. I noticed that the “IsValid” property on both the “ShapeElement” and the “ModelElement” doesn’t seem to reflect the state of the validation framework. To be more precise: I implemented a validation for the ...Show All
Smart Device Development Really need to increase main memory
Currently the emulator allocates about ~25MB of memory (storage+progeam). Storage isn't a problem since I can emulate a storage card. However 20MB of program memory is not enough for some of the applications I'm testing. Is there a way I can increase the program memory to about ~40MB Thanks in advance for the help. :) From the VS Tools->Options->Device Tools->Devices-> <device name>->Prope ...Show All
SQL Server Send parameter from form to RS report
Hello! I have a form with a variable and a value, let's say x=1. (x can be 1 or 0.) I want to send this value to a Reporting Services report. On the report I have a label with a text in it. When x=1 I want the label to be visible, if x=0 I want the label to be hidden. How can I do that Thank you! Hi garrone - I'm not sure of the details in your scenario, perhaps you could more fully explain your situa ...Show All
SQL Server Call a storedproc in select from block
Hi everyone, I have a storedproc. This proc send back a value. how can i call this storedproc in select from block. Or what is your advise for other ways.... Select * , (Exec MyStoredProc MyParam) as Field1 From Table1 It's complicated. You need to set up a (possible looped back) linked server and invoke it through the OPENROWSET() function. It is is explained here http://www.sqlmag.com/Art ...Show All
Smart Device Development SMTP in .NET Compact Framework
I am attempting to write an application utilizing the .Net Compact framework 2.0 (maybe SP1) that will run on a PocketPC 2003 device (not phone). I would like the application to take a file from the device and email it to a SMTP Server. I would like to do all of this without having to use other programs if possable (Such as cslmail). Is this possible I will be using a network card on the device for connectivity. Should I just use the system.web ...Show All
Visual Basic Try...Catch statement Question
I have a Try...Catch statement that contains 12 Operations inside it. On the catch I want to display a msgbox that tells exactly which operations failed. I was looking through the exception methods and couldn't find one that worked. All of the methods provided relative information but nothing specific. The reason I want to pinpoint exactly which operations failed is so that the user can email the error message to me and when I get it I will kn ...Show All
SQL Server Selecting a default value in dropdown
Hi everyone, i have a report parameter that is a single select dropdown, populated from a dataset that is an mdx query on a cube. Here is an example of what the mdx query produces (sorry about the formatting): ParameterCaption ParameterValue &nbs ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Debugging shaders
Hy. I've never debugged shaders before and I really need to do it; so I followed all the steps from the SDK, then I tested the debugger on a SDK sample that had shaders and it worked. Then I turned my attention to my application and I've modified the code to enable it to run with shader debugging. The only problem is that shaders aren't debugged, I've inserted a breakpoint there and it isn't reached. I've tried everything, but nothing work ...Show All
.NET Development How can i accesses my static variable from one class to another ?
hi all I am using vs2003 how can i access my static variable from other calss... actully i am working on dersktop appl and i want to keep the track of user from one page to another i tryed many logic to access the username so i am trying to use the static variable any body know how to store username for globel use Use the AppDomain.CurrentDomain.GetData() and AppDomain.CurrentDomain.SetData() to solve your problem.Thou ...Show All
.NET Development String or binary data would be truncated
Hi, i'm having this litle problem Have this code/ Sql Statement where MSGFile is of type IMAGE on SqlServer 2000 SP4 sSql = "Insert into MSGFiles ( MSGID,MSGFile,MSGFileType,MSGFileName) Values( @MSGID,@MSGFile,@MSGFileType,@MSGFileName)" Dim P As New SqlParameter("@MSGFile", SqlDbType.Image, SQLFile.Length, ParameterDirection.Input, False , 0, 0, Nothing , DataRowVersion.Current, SQLFile) sqlCmd.Parameters.Add("@MSGID", id ...Show All
Visual Basic Search function
Hi! I need help to make a search function to my program. I want to search after Spyware (my program is an antispyware program) So then i need help with the search thing. I thought that maybe I must make a file or database with all the spyware names in. Then my program reads the names fro the file\database and search after it. Just think about a anti virus program that search after viruses. Could somebody help me with this you have to do s ...Show All
