Software Development Network Logo
  • Smart Devicet
  • Visual C#
  • Visual FoxPro
  • Visual C++
  • Windows Forms
  • SharePoint Products
  • Visual Studio
  • Game Technologies
  • IE Development
  • Microsoft ISV
  • Windows Vista
  • .NET Development
  • Audio and Video
  • Visual Basic
  • SQL Server

Software Development Network >> Tim Windsor's Q&A profile

Tim Windsor

Member List

Sundaraguru
TPECI
GlennZarb
BurritoSmith
Raj MS
David_Lindley
Arun Narayan
SamSam698
Prasanthgs
Sarguna
Rani09
textman
Sab2
CinoV
ivanw
kiwilamb
billb59
Ori'
shax
we7313
Only Title

Tim Windsor's Q&A profile

  • Visual Studio Express Editions switching forms

    hello i am making a password protected program and i need to switch between 2 different forms. 1 is the login page. once password is entered i need to go to the main page. wich is called form2. heres my code i hope you can help.   Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Password As String Password = InputBox( "Please enter the password" ) If (Password = "happygilmore" ) Then what has to go here to go to form2 Else MsgBox( "Incorrect Password!" ) End If End Sub End Class Usually the Web does this for you with redirections. ...Show All

  • SQL Server Inconsistent OLE DB Failure when running SSIS packages

    I have a series of SSIS packages which populate 12 different databases. Which data source & target they use is controlled by values passed down from the SQL Agent Scheduler Job Step using "Set Values" These values are passed to Variables which are used in the Expressions in the connection manager for the database to change the connection string and initial catalog. e.g. REPLACE( @[User::ConString] , "Royalty", @[User::RoyDb] ) These jobs run successfully the majority of the time but each day I get a significant number of failures where one or more target or error trapping table cant be found. They are all using the same connection manager and most of the tables in the database get updated correctly but the ...Show All

  • Visual Studio 2008 (Pre-release) Sign a Full Trusted XBAP?

    Can I sign a fully trusted XBAP with a Verisign key so it will work in anyone's browser without security errors Short answer: no. Slightly longer answer: The only way to elevate permissions within an Internet or Intranet deployed XBAP is to use the ClickOnce Trusted Publisher model. This means your end user must agree to installing the cert into their Trusted Publisher cert store. There is no workaround to this. By using a cert from a trusted certification authority, you are merely skipping the step of adding the cert to the Trusted Root CA store in addition to Trusted Publisher store. ...Show All

  • SQL Server Convert MS Excel to XML and then insert all data records into MS SQL

    Hi, I am developing a web page for users to input data records. I am seeking the fastest way that users can upload their MS Excel files and the system can help data insertion into one data table. I know XML can insert data records into SQL database easily. Could any one give me some ideas how to perform this issue Thanks a lot. I would like to convert the MS Excel file to XML on the server, rather than training users to export in XML format. Also, users may not all have Excel 2003. Is there a way to convert on a server Thanks ...Show All

  • Visual J# vjc error

    Hi; Ok, while building my solution using nant vjc is throwing an exception. I told it to debug in VS 2005 and the error is at malloc.c: void * __cdecl _malloc_base (size_t size) { void *res = NULL; // validate size if (size <= _HEAP_MAXREQ) { for (;;) { // allocate memory block res = _heap_alloc(size); where size = 0. It throws the exception deep under that code but I think the size=0 may be the problem. The call stack is: kernel32.dll!7c812a5b() [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll] kernel32.dll!7c812a5b() vjsc.dll!6d90d727() vjsc.dll!6d930468() vjsc.dll!6d930480() vjsc.dll!6d8f53a6() ntdll.dll!7c9118f1() ntdll.dll!7c911902() ...Show All

  • .NET Development My COM class prevents client app from exiting

    I'm building a plug-in for an application that exports a type interface. I've implemented the type interface using C#/.Net 2.0 and everything works fine. That is until I exit the client app. It cleans up it windows, but hangs around waiting forever, until I kill it from the task manager. I suspect the problem is my COM class isn't implmeneting whatever is called to finalize it. I've tried ~Class, but that didn't change anything. Can anyone tell me what I'm missing, or to an article that describes shutting down a COM server Thanks for the reply Sean. I'll try your suggestion of a memory profiler. I don't believe the COM client (there is only one), is at fault, as others have implemented COM t ...Show All

  • SQL Server Using GetDouble() on the PipelineBuffer

    Hi, I'm using the GetDouble() method of the PipelineBuffer to get a double from a flat file, to transform it and to rewrite it to the readwrite input column. The input column I read the double from has a DT_R8 data type. If my input file contains 18.45, then the GetDouble() method returns 18.44999999999, and when I rewrite the double without transformation, the target file contains 18.449999999999 !! The only way to get 18.45 in the target file is to create a RT_DECIMAL output column and to write the result using SetDecimal(index, new decimal(doubleValue)) to that new column (when calling SetDecimal(), doubleValue contains 18.449999999999 but the written decimal is 18.45) If I really want to rewrite the double to my input co ...Show All

  • SQL Server Mdx Expressing for Calculated Measures

    Hi, I am new to SSAS and MDX; I am trying to create a calculated measure with CREATE MEMBER CURRENTCUBE.[MEASURES].[Consensus Forecast - FCDT] AS IIF( ISEMPTY([Demand Forecast .[Forecast Type] ) OR [Demand Forecast].[Forecast Type] = 'CONSENSUS' OR ISEMPTY([Measures].[Forecasted Qty - FCDT] ),0,[Measures].[Forecasted Qty - FCDT] ), This calculated measure is always giving me zero, Is this a valid query which will return me the Forecasted Qty Can anyone Please point me to the issues here about the Dimension Attribute Checking Thankyou Vidya It seems that you have an error in the expression-a missing closing squire bracket and the expression doesn't seem to be complete. I'd suggest to use some applicatio ...Show All

  • Visual Studio Visual Studio 2005 hangs during launch - won't get past splash screen. Yipes-"help!"

    My Visual Studio 2005 installation cannot get past the "splash screen". Perhaps three weeks ago I had a working Visual Studio 2005 installation. This machine has Visual Studio 2003 also installed, side-by-side, and I needed to do some work with 2003 which was and still is working fine. Last Friday I launched Visual Studio 2005 and it hung at the splash screen. I'm now "dead in the water" with my 2005 work environment and have a work stoppage because of it, which I've been trying to resolve for 3 days. I've tried: - repairing 2005 installation. says it succeeded, but 2005 still hangs - installing 2005 SP 1. says it was successful, but 2005 still hangs - uninstalling the SlickEdit "Gadgets" ...Show All

  • Visual Studio Source Safe Install

    I just became responsible for managing a small software project. I want to install and use Source Safe, but can't seem to find it anywhere. We own Visual Studio 6, Visual Studio 2003 and Visual Studio 2005. Where is the Source Safe installation on any of these products I must be overlooking it somewhere. Thanks, What editions of VS do you have For example, in 2005, SourceSafe only comes with Team Editions and higher. It's also included in MSDN Professional subscriptions & higher. ...Show All

  • Windows Forms in Immeidate window it works but not on class- RTF-clipborad

    Hi All, I've a very simple problem. When i convert simple text into RTF in a class it doesnt work but whne I see the result in immeidate window I'm able to see the actual result. Why is this difference Please see the below code and its very simple and starightforward but I'm struggling to findout the root cause. Dim objData As New DataObject(strText) Clipboard.SetDataObject(objData) Dim reverdata As New DataObject reverdata = Clipboard.GetDataObject() 'now get the new object If Not reverdata Is Nothing Then strRichText = reverdata.GetData("Rich Text Format", True ) End If when i see the value of reverdata.GetData("Rich Text Format", True ) in immediate ...Show All

  • Windows Forms Display forms without Mdi

    Is it possible to display a form say in a custom user control or panel container, without using Mdi Thanks, John I get an error when I do that, InnerException = {"Top-level control cannot be added to a control."} My test project is basic and uses the same code except, I had to change the first line, form1 frm1 = new form1(); Any thoughts Thanks, John ...Show All

  • Visual C++ What can be done not to lose messages with udp?

    I am receiving messages from a server by udp rapidly. Sometimes i miss some messages. What can be done not to miss messages i am using CAsynSocket. i call ReceiveFrom() in OnReceive() function and i process the messages. When i call ReceiveFrom() in OnReceive() and don`t make any other processes with the messages and only junk them and don`t make any other processes with computer, i don`t miss any message. i see that i have problem with speed, maybe i should upgrade the rams but what else can be done Can buffer size be managed i try SetSockOpt() with parameter SO_RCVBUF. What should be the best buffer size and receive timeout You'll probably never win this battle. If you can't afford to lose packets, don' ...Show All

  • Visual C# free memory

    hi my operatin system is windows server 2003. I have program that use big text files , when i run that my computer Page File Usage is being the highest . If i close my application , Page File Usage won't decrese how can i free memory The best thing to do is to do in C++ way / asp way: object = null; that's the only way u free resources in .NET without exit ur application. See the link i provided somewhere in this page. ...Show All

  • SQL Server Reg:Error in PULL (RDA) for data sync

    Hi Darren & All,               Thanks! As per your guidance, i have tried in the pull method.Now i am getting error "The LocalTablename parameter is already specified". Coding as follows: string rdaOleDbConnectString = @"Provider=SQLOLEDB; Data Source=PRASSANA\PRASANA;Initial Catalog=master;User Id=sa;Password=master";             SqlCeRemoteDataAccess rda = null;             try             {                 rda = new SqlCeRe ...Show All

©2008 Software Development Network