COREY H's Q&A profile
SQL Server Errors / warnings after deleting variables & Connection Manager objects
Hi, As I was developing my SSIS package, I created several variables and tasks ( FTP, WMI Reader Task ). I am now cleaning up, deleting unwanted variables and connections in the design window. I save and build the package and when I load the package, I get warnings that these variables are referenced but can't find them and errors that the WMI connection is not found. When a package calls a sub-package, it stores the absolute path of the child package in its dtsx xml file in a Connection String property. How annoying !!! . When I deploy this to another machine with a different file structure, it becomes a problem. Why can't it store the path relative to the parent package, which would be typically in a sub-directory under the paren ...Show All
Smart Device Development Extend Call Log Menu
Hi, i'm trying to add my custom menu in Call History on SP platform. My code works as well on PPC but on SP 'DllGetClassObject' is never called! ! The dll is correctly registered and exports all functions. The registry key that i'm using is: AppView\MSCLog Any ideas Thanks in advance ;) CEGUID m_ceguidInitDB; CEOID oidDB; //Get record's OID CEOID oidCallLog = (CEOID) pItemArray->rgRefs[0].pRef; //Mount the volume BOOL a=CeMountDBVolEx(&m_ceguidInitDB, L "\\pim.vol" , 0, OPEN_EXISTING ); //Open clog.db HANDLE m_hDBCLog = CeOpenDatabaseEx2( &m_ceguidInitDB, &oidDB, TEXT( "clog.db" ), 0, 0, NULL); //Go to record CEOID ceOIDTemp = CeSeekDatabas ...Show All
.NET Development Is there a way to redirect assembly version for individual servicedcomponents?
hi, Can I redirect to different assembly versions of an assembly for individual .NET servicedcomponents I have few com+ services running but each service should bind to a different version of same assembly at run time. how can i achieve this I see, I can specify application specific configuration at only "dllhost.exe.config" which will apply to all the Enterprise services. can anyone help me here Similar questions have been answered before. For example http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=741214&SiteID=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Programming Noobs
I'm currently going to school for game development and have absolutely no experience with programming or any of the scripting languages. Will the GSE be "beginner friendly" or will I need to obtain some prior knowledge of certain tools in order to be able to use this platform Thanks, 93 Microsoft has some resources on their site and you can looks at www.learn-xna.com for more link and a couple videos one that is a first lesson on getting started in C# ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to render alpha blended textures on a Model?
I have a 3D model with a texture applied that contains alpha information to make parts of it transparent. How do I go about rendering the model with the transparency I've figured out how to render the entire model translucent but not how to make a specific material on the model translucent in accordance with the alpha values of the texture used by the specific material. Is there a way to do this What are you talking about is a classic problem when dealing with blending in 3D. The problem is that even though the object you are drawing is translucent, if a given fragment passes the depth test the new depth value of the translucent fragment is still written into the depth buffer. Consequently, even though the object is translucent, obj ...Show All
Software Development for Windows Vista R
Hi there. Yesterday I have installed Vista rc2 (b. 5744) and I tried to install Alcohol 120 Software (virtual cd-rom emulation and creation). Installation seemed fine but after I restarted my system and logged on I had a serious problem - after a few second the screen started somehow "flashing" in blue and black (NOT the classic blue screen). The system did not react and after a few seconds of this flashing it restarted. This repeated a few times. Then I tried to run the system in Safe Mode but in this it did not even started, the error blue screen apperared for a second and the system restarted again. Finally I somehow found some memory repairing tool and after running this the system works OK. I hope this helps you to mak ...Show All
SQL Server Parameter visability dependant on a parameter?
Is it possible to change the visibility of a parameter based on a boolean parameter that a user can view in the report So you have one parameter that is a boolean value defaulted to false, when the user changes the parameter from false to true another parameter, previously hidden, is then displayed. Thanks Dynamically hiding certain parameters in the report viewer UI is not supported directly through RDL. You would need to implement your own custom frontend for handling this parameter logic and then send the selected parameter values to Reporting Services (e.g. via URL access, or by using the report viewer controls in local mode). -- Robert ...Show All
Visual Basic Changing ConnectionString at runtime
In my application, i am not sure where will be the database. So i thought to put the connection string in app.conf file. So that i may read it runtime and create connection. Working good. But what if i have to change the connectionString define in app.conf at runtime It may not be necessary that i must use app.conf, you people can suggest me one better approach so that i may not be dependent on databasestring. It could be created/change at runtime. My proposed plan is to have a friendly form. But the problem lies how can i modify the app.conf file at runtime from the application. I have consulted with few people and they said to use the following code string connect = System.Configuration.ConfigurationSettings.AppSettings["C ...Show All
Visual Studio Express Editions How to solve AccessViolationException when call matlab function usind C#?
Hello, I've cretaed a Matlab function and managed to call it out in C++. But, when i convert my C++ to C#, there's an 'AccessViolationException Unhandled' error. Besides, i have successfully import the mclmcr.dll and my function dll in C# by using [DllImport(@"mclmcr70.dll")] method. Below is my C++ codes: [mxArray *imageName = NULL; imageName = mxCreateString("demo1.jpg"); // Call the function mlfVaanalysis(imageName, outputName); mxDestroyArray(imageName); imageName=NULL;] After converted to C#: [IntPtr imgName= VamDLL.mxCreateString("demo1.jpg"); VamDLL.mlfVaanalysis(imgName,outputName); VamDLL.mxDestroyArray(imgName);] where the VamDLL is the C# class i use [DllImport(@"mclmcr70.dll") ...Show All
Visual Studio 2008 (Pre-release) Add Formatted text to TextBlock?
hi there, i want RichTextBox to edit text and display that formatted text in the TextBlock. how to add richtextbox content to textblock richtextbox contains blocks and textblock accepts inlines how to convert blocks to inlines and vice-versa or is there any other way thanx advance, srissh lester, that was really useful ..it's working and no need of any convertions hell....u made so easy & simple and thanx to Lee too and thanx to pmarreddy thanx alot srissh ...Show All
Visual C# String formatting
Is there a way to get String.Format() to pad my string with a specified character ie: Perhaps i might want a string to contain 50 asterisks That will work for whole strings, but I have one instance where i need to pad a portion of a string during the .Format(). int x = 12; String s = String.Format("Section${0,5}$", x); I want s to be "Section$00012$" ...Show All
Visual Studio Express Editions Making a working form out of Visual Basic Express
Hi, I was wondering if there was someone who knows how to make a simple application using the checkboxes in Visual Basic Express what is the code to store the info on those and what is the codes to go with two buttons, one to clear the info / cancel and the other to send the checkbox marking info in an automatic text email. I just got through with lesson 2: Getting Started: Beginners Guide to Visual Basic Express. Thanks! in the solution explorer, right click on "references" > add reference and find "System.Web.Mail" and click ok. this will add a reference to that assembly in your project. Then at the top, where are you "importing" namespaces, type: imports System.Web.Mail ...Show All
Visual Basic Conversion from vb.2003 to vb.2005
I recently converted a large (40+ class library projects + the exe) project from vb.2003 to vb.2005. The conversion went well with a few warning message mostly consisting of object used before value is set and using a shared method from a class instance instead of the class. I corrected these warning messages. The method used for the conversion: copied the path containing the vb2003 version to a new path and opening the solution file in vs2005. I did not save a backup since I was using a new path. The class library projects reference other class library projects. For example I have a class library project containing commonly used functions such as Crude Oil volume correction, ticket calculation, etc. Other class library project reference t ...Show All
Visual Studio Team System Get Latest Version extremely slow
Hello, When we do a "Get Latest Version" for a project containing about 450 subfolders this operation shows the "Contacting server to get list of items to update..." for a very long time. Eventually it will come up with an error "HTTP code 500: Internal Server Error". The event log indicates a time out. I have already increased the executionTimeout values for the various .config files used by the Web Services. This increases the time it takes for this error to appear (this can take up to 2 hours) but the error still appears. These subfolders each contain about 20 files with a total size in each folder of 180KB. While the "Get Latest Version" is active the server CPU is not busy at all, it stays ...Show All
Visual Studio Express Editions Decimals
Oi, got me a problem. I have a little programm that calculates something. Now... the outcome so far has been numbers like 13,25455236 How do i get the output to 13,25 This is the code that calculates.... firsttextbox = double.Parse(textBox1.Text); secondtextbox = double.Parse(textBox2.Text); result = firsttextbox * 12 / 365 * secondtextbox * 2; textBox3.Text = result.ToString(); Greets Ghan hi, as what what nobugz said , you can also do it by those ways result.ToString( "N2" ); decimal .Round(result, 2 ); hope thsi helps ...Show All
