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

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

beesol

Member List

rolandpish
TomasLeung
T2TD
smtraber
Six
Roger Lipscombe
Randal Greene
bjkaledas
Robert3234
ThoHot00
Crasch
PeterTT
cablehead
nub340
cdnhype
Philip Jaques
RayD
kangalert
swells
Sergei Dorogin
Only Title

beesol's Q&A profile

  • Visual C# Catch Errors from Creating DLL Instance

    I have a widget type application that reads all of the dlls in the plugins directory and creates an instance of each. I want to be able to catch the error of the individual dll without having to exit the entire application. Right now I'm calling the dll's like this: WidgetContainer.Container c = new WidgetContainer.Container(); c =(WidgetContainer.Container)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); c.Show(); Everything loads fine, but if one of the dll's has an exception the entire app closes. Is there a way for me to redirect all of the errors to the base application Thanks JGA You can't catch the exceptions associated with a particular DLL. Not unless they are in their own AppDomain as well. Which is ...Show All

  • Architecture Typed Dataset or Custom Classes

    Hey friends, I am a VB developer, soon I am going to start a new project. It will be a client application, I will use a SQL server database. I am used to use custom classes, I create my onw variables properties, events and methods. I am aware of the Typed Data Set and thinking about using it on my new project. The problem is that  I have never used it,  I do not know the minuses and plusses of the Typed dataset. Now, my boss and me on the desicion phase, we want to implement the most efficient and easy maintainable one. If you ask me , I'm quite happy with custom classes :)) My opinion is that the custom class is better for performance purposses, because I  create properties and meth ...Show All

  • SQL Server Managing Scheduled Jobs from Management Studio Express

    I'm working on a backup solution for my company. Right now we have three servers in three locations running SQL Server 2000. For testing purposes, I created a scheduled job on one of these servers. It worked fine but I'd like to tweak the job some, tinker with the timing and save locations. I'm using Management Studio Express on my laptop to remotely work with these databases but I can't seem to find a decent way to work with existing jobs. Am I missing something or does SSMSE lack the "manage jobs" functionality SSMSE only exposes functionality that is available in SQL Express. Since Express doesn't include Agent, SSMSE doesn't include the ability to manage Agent jobs. The SQL 2005 Feature Pack includes some DTS 2000 ad ...Show All

  • Internet Explorer Development Wierd math errors in javascript under IE6... fixed in IE7?

    Ok, I have run accross some really bizarre math bugs in javascript under IE6. Multiplying certain floating point numbers by powers of 10 gives weird results. The ones I have found with just a couple trys are 2.03, 3.03, 12.04 and I am sure there are plenty more. I was trying to multiply by 10000 to isolate 4 decimal places when I found this but multiplying by 100, 1000, etc all do it. Below is an example of some of what I found. Please tell me that this doesn't happen in IE7 I am working on a NAVY system and have no choice but to run IE6 and W2K so I can't test IE7 myself. <script language='javascript'> function RoundTo4DecimalPlaces( n ) { var num, num2, num3, num4; num = n * 10000; // this screws up for the tes ...Show All

  • SQL Server Dynamic RDLC generation layout problems. Overlapping.

    I am dynamically creating an rdlc file at runtime. I use multiple Matrixes (Matrices ) throughout the report. The problem is, upon viewing, the report isnt rendered the same way as if it was created as design time. The matrices overlap, where as if I create a similar scenerio at design time, they are moved to accomodate the size of the previous element. I have tried many different things as far as the Top and Left attributes go, as well as setting the ZIndex on all of the items to be 1 or 0. Nothing seems to work, they all just overlap. If anyone has any input on this, it would be greatly appreciated. nomer This is an rdlc file that I am having the issue with. Can you notice anything that may cause ...Show All

  • Visual Basic optimize my APP

    i have created a application in vb.net. which uses simple forms and operations which mostly deal with files. problem is my app taking toomuch of memory space while running(13000k - 17000k) it seems its toomuch for my APP and its operations.. how to optimize my app.. so that it should be lite weighted.. Thanks in advance.. Sounds about right to me. Try making a simple "Hello World" single-form app and see how much that uses ~ I have one that eats 13,727k ...Show All

  • .NET Development .NET 1.1 vs .NET 2.0 behaviour with Image fields

    In not .NET 1.1 and 2.0 the System.Type mapping for a SqlDbType of Image is byte[]. If you use this type to create a SqlParameter (with a value of DBNull.Value) and then use this in a SQL statement of the form "Update table Set ImageField = @parm where ......" Then in .NET 1.1 it works, but in 2.0 you get an Exception "nvarchar is incompatible with image" How can you determine the correct System.Type to use for Image fields, and why is the behaviour now different The application code is generic and not tied to specific database designs. Thanks Tony OK. In our messaging application, this field would never be assigned to (it is done elsewhere). My point ...Show All

  • Visual C++ Big loss in performance when using wrapper for unmanaged code

    I have followed the general outline by MVP Brian Kramer when developing a wrapper for Rick Wagner's C++ version of the Mersenne Twister. But to my utter disappointment the performance of the code was quite week. The native code running in a win32 console application was able to produce 300 000 000 million random integers in just over one second, but my wrapped version running in an CLI console application took about 6-7 seconds to produce the same amount of integers. This was absolutely not what I have hoped for. Performance is of the utmost importance in the part of my application where I will run the Mersenne Twister. I know that is it not advisable to run my wrapper code in a loop, but I really have to do that in my application due t ...Show All

  • Visual C++ runtime error when printing

    I am recieving this message every time I try to print: Runtime error! Program: C:\Windows\system32\spool\drivers\W32X86\3\lxcgPSWX.EXE This application has requested the runtime to terminate in an unusual way. please contact applications support team for more information. This has been happening on my new computer and I'm not sure of what to do. I have uninstalled and reinstalled the printer which hasn't helped. Any expertise is welcomed. I am not very computer savvy. This is off topic for these forums. The forum are specific for VC++ devlopment issues. OTP Thanks, Ayman Shoukry VC++ Team ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. PIX, DX10 and Render to Texture

    Does PIX support DX10 properly i need to link dx9 libs to get pix support which makes me think its not. Secondly, pix does give me some information when i do a capture, how ever now that i've implemented some more render to texture goodness, pix doesnt capture a whole frame, it only captures till i unbind the first render texture, anything i can do do some how get it to capture a whole frame ive managed to fix all dx warning, and pix still fails to capture a whole frame, unless i do a stream record in which case i cant do anything as it is so massive it causes my pc to die! void DX10Effect::SetTexture(EffectParameterHandle handle, Texture* texture) {     ID3D10EffectShaderResourceVariable* ...Show All

  • .NET Development deploying on 64-bit

    Hello, I have a VB.Net 2005 application using SQL 2005 developed and compiled on 32-bit machine. However the client's server is 64-bit. What procedure should I follow to make my appliction running on 64-bit machine. I am reading through newsgorup threads, however if any of you guys has been through this before and can guide me through the process or links where I can find some help material, it would be great. I am hoping that there won't be a lot of work envolved to make it compatible or at least that my application will still work on 64-bit. Thanks for the guidance, Grace ...Show All

  • Visual C# How to extend existing enum (or what to do when I can't cast?)

    Hi, I'm an experienced C/C++/Delphi programmer but new to C#. I'm building a panel control that supports gradient fill background color. I want to expose a property of type LinearGradientMode but additionally, I would like to include an additional "None" value. I created my own SKLinearGradientMode enum including the original values plus "None" but I obviously can't pass that to LinearGradientBrush and I can't typecast it a LinearGradientMode. Is there a way to achieve this in C# without resorting to a switch/if statement to map from one to the other Hi, Scott Yes, you can easily define a enumeration extending existing enum. When you extend the LinearGradientMode enum (which has ...Show All

  • Visual Studio Team System Show version and checkin notes to enduser

    Is there a way to show the end-user the version and/ or the check in notes for a file or the whole project When I check in my files in source control they do get a version and i can give them check in notes. Our end-users (and we also) would like to have the possibility to check which version of a file (or the whole project) is released on a specific environment (test, production,....). Can anyone tell me if this is possible Hello, when you display the history of an item, you see check-in notes assocciated with each changeset - using tf history /noprompt you should specify /format:detailed, using gui - displaying details of each changeset. There is no way for quick searching for a version of f ...Show All

  • Windows Live Developer Forums Noob help...if you will

    hi there, Im just starting out. Is there any source code available in vb for the fetching reports Cheers The adCenter developer blog has a VB sample for a basic "Hello World" application ; this should get you started. Once you have it working, it's recommended to take a look at the report sample (C#) in the documentation file, which I have pasted below for convenience, and do the translation to VB. HTH, Shai KeywordPerformanceReportRequest reportRequest; int accountId = 65535; String reportId = null; int bufSize = 100000; int reportLength = 0; // Create keywordPerformanceReport reportRequest = new KeywordPerformanceReportRequest(); reportRequest.AccountId = accountId; reportR ...Show All

  • .NET Development NetworkStream.Flush() disabled at NET 2?

    Hi! My program sends more than one msg at a time, and I wanted to avoid the reciever to recieve it as one msg, eg: server.send("123"); server.send("abc"); the reciever would get "123abc".           <<<<<---- not wanted ! I tried to use Flush() but it seem not to be working, plus, in the function description it's says something like "This method is reserver for future use."...... Any suggestions good people Hi, you should use some characters which can be interpreted has separators of your messages. If you want some flexibility you could use XML formatted strings like in WebServices or SOAP. That might help to make parsing of the sent messages easi ...Show All

©2008 Software Development Network