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

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

aboutKnowledge

Member List

Jagjot Singh
kasmatt2000
Sylvain in Ottawa
Henrik Goldman
cues7a
c0dem0nkey1519
Khurram01
Felan
UltimateSniper
Kevin Hoffman
andriscs
hieu.nguyen
Peter McEvoy
carthegenian
sugruea
Paarul
WXS123
krisg1984
supersonic1976
Christie Myburgh
Only Title

aboutKnowledge's Q&A profile

  • Windows Forms repair install (event id 1001 and 1004) - whats causing this in my case?

    I'm getting eventlog events 1001 and 1004 indicating a repair install. The 1001 event description is: Detection of product '{6C2EFFE6-1A20-4FB8-81D2-2B1A3ADFDC53}', feature 'DefaultFeature' failed during request for component '{ 22056900-C842-11D1-A0DD-00A0C9054277 }' This indicates component Global_Controls_MSCOMCTLOCX, which I install from a standard MS VS6 SP6 MSM file. The 1004 event description is: Detection of product '{6C2EFFE6-1A20-4FB8-81D2-2B1A3ADFDC53}', feature 'DefaultFeature', component '{ EDBDF246-2367-469D-AB3D-6F076F338CA8 }' failed. The resource 'E:\' does not exist and this indicates the following component (Component table of the MSI): Component="_C57571A181C24B139A26CBF7E2E09D ...Show All

  • SQL Server Two transactions + different rowsets = problem

    PERSONS data table id PName Label ----------------------- 1 John tall 2 Bill rich 3 Mary rich 4 Susan tall 5 Tom thin 6 Lu tall Indexes: id - primary_key Problem: I have a two parallel transactions T1 and T2. Each of transaction deletes data in Persons table. Each transaction deletes unique rowset from table (situation when both transactions are trying to delete one particular row is excepted). So, see the execution timeline below: Example 1 (works fine): T1 T2 ---------------------------------------+------------------------------------- begin tran T1 delete from persons where id between 1 and 3 begin tr ...Show All

  • Visual Studio 2008 (Pre-release) Designer not showing up

    When I create a new WinFX Windows Application and open up the Window1.xaml file, it goes directly to the xml editor with the xaml file loaded (eventhough the WinFX Designer is the default).  So when i click the Design button at the bottom of VS2005, a blank page comes up and i can't do anything within it... should i seem something in the toolbox that i can drag over   Something doesn't seem to be correct. I uninstalled the Nov CTP of WinFX, Windows SDK, and winfx extentions prior to installation of the Dec CTP of WinFX, Windows SDK, and Orcas.  What am i missing Also, I'm seeing the same error as this poster is seeing: The type initializer for 'AvalonAdapter' threw an exception.   http://groups.google.com/ ...Show All

  • Visual C++ This code snippet makes no sense...

    I've come across some code syntax I've never seen. It compiled, but I don't know how, or what it even does! I've been reading a book about DirectX, and in one of the examples, this little piece of code was present: D3DXMATRIX *D3DXMatrixIdentity(D3DXMATRIX *pout); "D3DXMATRIX" is a type, of course. And "D3DXMatrixIdentity" is a function, of course. Now I don't see how this works. Okay, to break it down, first we have a type, which is D3DXMATRIX, then we have the indirection-operator (which I assume is a pointer), and then we have a function (perhaps a call) with a new D3DXMATRIX (pointer) as it's only parameter. How the heck does this work It isn't just a regular function-call. It isn't a function-call that' ...Show All

  • Visual Studio Team System How can I get the OutputDirectory for DeploymentItem?

    Do I need to use reflection with System.Attribute.GetCustomAttribute() to get at that info, or can I get it through TestContext Thanks...Rick Hi Rick, Yes, in your example, @"dir3" would be a constant that you specify, since you are creating that directory, so combining TestDeploymentDir with your constant is what you should do. If you specify DeploymentItem with just one parameter (the actual path to your deployment item), then you can use TestDeploymentDir by itself. Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All

  • SQL Server Importing Data from Oracle 8i/9i to SQL Server 2005 using SQL Server Import and Export Wizard (AKA DTS Wizard)

    Hi All, I have become frustrated and I am not finding the answers I expect. Here's the gist, we support both Oracle and SQL for our product and we would like to migrate our Clients who are willing/requesting to go from Oracle to SQL. Seems easy enough. So, I create a Database in SQL 2005, right click and select "Import Data", Source is Microsoft OLE DB Provider for Oracle and I setup my connection. so far so good. I create my Destination for SQL Native Client to the Database that I plan on importing into. Still good Next, I select "Copy data from one or more tables or views". I move on to the next screen and select all of the Objects from a Schema. These are Tables that only relate to our application or ...Show All

  • Visual C++ C and .net

    Hi, I've lots of programs written in C (not C++) and I want to include some .net framework in them. How can I do I've Visual Studio.net 2005. Thanks. SerialH well it is prbly practically impossible to use .NET from a C compiler, but.... since C++ is backwards compatable with C you may be inluck. It is possible to call a pointer to a managed .NET class in native C++. first make a native class in VS, than declare the managed object you wish to use like so: gcroot<ManagedClass^> MyObject; Now copy your old C code into the class in an appropriate place; you can now use C/C++ to do stuff with the .NET MyObject Also don't forget to include vcclr.h, otherwise it won't work. ...Show All

  • SQL Server backup/restore strategy help

    Hello. I have only ever been required to take a full back up of my main prod database every night. Now the times they are-a changing , and it is now required to be able to restore the database up to the last hour. I've never really done much with tran log / differential backups so I'm asking for some advice as to what should be the best strategy. We are not a 24/7 shop we work from 6:30 am to 6:30 pm every day, so I thought: Full backup @ 7pm Backup tran log every hour after that starting @ 7am (as there are no changes overnight) How does that sound also when the tran log is backed up, is it truncated Or do I need to shrink it Basically I need to know what to do so it doesn't get too big! ...Show All

  • Internet Explorer Development OnUnload and SetTimeout not working

    Hello all, I'm trying to do the following: 1. Open a new window 2. Change the size of the current window so that it is side by side with the new window. 3. Wait until the new window is closed and then resize the current window. (I think MS Office does something similar when displaying the Help files.) I've tried to do this via onUnload + setTimeout and via setInterval but both have failed for different reasons. 1. onUnload + setTimeout Handles the unload event. Then checks if the new window's closed property is set to true. It seems the closed property isn't set straight after the window is closed so I put a setTimeOut of 200ms before checking if the window is closed or not. Unfortunately in IE it doesn't even seem to go into the unload ev ...Show All

  • Windows Forms Datagrid bug?: VerticalSbar don't appear if i load a binding source with a thread at runtime...

    i have binded a datagrid to bindigsource, after i fill a bindingsource with a thread. (using standard method) in debug mode the vertical scroll bar appear and work fine, but when i compile to exe and lunch it... the datagrid don't show the vertical scroll bar... why ty :) the binding was made when i drop the datagrid on form by data source window. when i call the trhead the binding link to datagrid altready exixst. After, if i'm in debug mode it work fine, if i complie it to exe don't work. if i set the bindingsource on datatagrid after thread end, don't work. what i do ...Show All

  • Smart Device Development how to assign huge decrypted string values to String datatype?

    Hi , I am assigning decrypted string to a variable of datatype string. For eg Dim str as string str=" " str= decrypted string from a file "sample1.dat" The file sample1.dat is about 700KB of size.When i assign decrypted string from files like sample2.dat , sample3.dat , sample4.dat of 700 KB one after another i am getting out of memory exception. So what is a proper way of assigning huge size string values to a string datatype and how to dispose allocated memory. I used GC.collect, but also i am getting out of memory exception. Hi Senthil, I don't believe the assignment is what's causing the problem since this is just another referen ...Show All

  • Smart Device Development CCommandBar.Show leads to 'Data Abort'

    Dear all, In my app, I needs a commandbar with menu and toolbar. So I write the following code: bool CMainDlg::initToolbar() {  if (!m_wndCommandBar.Create(this) ||   !m_wndCommandBar.InsertMenuBar(IDR_MENU1) ||   !m_wndCommandBar.AddAdornments(dwAdornmentFlags) )  {   TRACE0("Failed to create CommandBar\n");   return false;      // fail to create  }  CBitmap imageList;  CBitmap imageMask;  imageList.LoadBitmapW(IDB_TOOLBAR);  imageMask.LoadBitmapW(IDB_TOOLBAR_MASK);  VERIFY(m_toolbarImageList.Create(16,16,ILC_MASK,20,2));  m_toolbarImageList.Add(&imageList,&imageMask);    CToolBarCtrl& toolbar=m_w ...Show All

  • Visual Studio Express Editions Problem defining a public variable

    I use this code Public Class FormMain Public S3 As String = "SELECT " S3 = S3 & "CONVERT(char(255), SERVERPROPERTY('Collation')) AS COLLATION, " I'm obviously misunderstanding something. I thought I was declaring a pulblic variable called S3. When i run this code I get an error telling me that S3 is not declared. This doesn't make sense to me. Can anyone tell me the errors of my ways Thanks Kerry   Are you seeing this message in another class or form, Kerry For example if you wrote that in Form2, your variable would be referenced as FormMain.S3  . ...Show All

  • Visual Studio 2008 (Pre-release) Reading and Writing image "Rating" metadata

    I'm looking for a way to read and modify "Rating" metadata that Vista uses to rate image files. I'm able to read the rating although I noticed that the rating is written in several places in metadata... and I'm not sure which Vista is using... it looks like all of them are changed at the same time and are kept in sync... so do I have to modify all of them to keep them in sync /xmp/Rating / xmp/xap:Rating /app1/{uint=0}/{uint=18246} When I'm trying to modify the rating... nothing happens... I'm using this code Stream fileStream = new System.IO. FileStream (path.LocalPath, FileMode .Open, FileAccess .ReadWrite, FileShare .ReadWrite); BitmapDecoder decoder = BitmapDecoder .Create( this .fi ...Show All

  • Visual Studio Express Editions Command Line in C++

    Hi, Guyz, I have encountered a problem, i have installed VS C++ 2005 Express Edition on my computer and have realised that there is not 'devenv.exe' that would go with it or with the PSDK that i have downloaded too. if anyone knows or had similar issues on how to call / build / compile etc projects in VS C++ 2005, please post the commands that are used, or links that would tell me how. It seems to be a simple thinkg, but i just cannot get the answer, i was looking for so long on the web. Any help would be appreciated. Many thanks, in advance, Dmitry I'm digging up an old thread, so I don't know if this will be seen, but... I'm encountering this same problem. Do you mean to set the includ ...Show All

©2008 Software Development Network