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

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

PaulYuk_MS

Member List

Claudiu Chiorean
skalapeno
vakman
arunsinghk
Umer Khan
Jason Croft
sheiderpbsj
Austin Milbardge
Cla82
alphonso
olloemre
TomWardill
MikeMorcilla
AWolf
RichardR
Gina Jones
Joshizzle
gharen1234
nabeelfarid
Landon Parks
Only Title

PaulYuk_MS's Q&A profile

  • Software Development for Windows Vista problem with ATL and RC1 ?

    Hi I am the developer of Future Pinball ( www.futurepinball.com ) and having installed Vista RC1 I thought I would try out my program on it. I noticed that all the objects in my game (which are ATL Simple Objects) did not show up on my property viewer and the visual basic script (which I use for game logic) didn't work.  I've not installed VS2005 yet on vista so I've not tried to work out what the issue is.  When I first ran Beta 2 I also noticed the similar issues but I found that re-registering the type libary via _Module.UpdateRegistryFromResource(IDR_FuturePinball, TRUE);     _Module.RegisterServer(TRUE);     char szFileName[_MAX_PATH];     if (GetModuleFileName(hInstance, s ...Show All

  • SQL Server Custom SSIS Task Deployment

    I've written several custom Control Flow and Data Flow components for SSIS. I'm trying to deploy a new Control Flow Task, however it will not show up in the "Choose Toolbox Items" window. I have my dll's all in the right place. Because of other painful issues we have not used the GAC, and instead have put our DLL's that are referenced in the following directory: C:\program files\Microsoft SQL Server\90\DTS\Binn. This has worked fine for other custom tasks, but not for this one. The only things that are different about this transform are the following: 1. Not only does the task inherit from Task, it also implements two interfaces that I wrote. 2. One of the assembly references is actualy an executable instead of a dll. ...Show All

  • Audio and Video Development audio/x-wav with attenuation

    Hi, Does attenuation work in HDiSim I've tried the following code: < object type =" audio/x-wav " src =" file:///dvddisc/ADV_OBJ/ding.wav "> < param name =" AttenuateL " value =" 100% "/> < param name =" AttenuateR " value =" 100% "/> </ object > Attenuation of 100% means silence, right Even if we do not set params like this: < object type =" audio/x-wav " src =" file:///dvddisc/ADV_OBJ/ding.wav "/> Specification tells us in 7.8.1-1 that default attenuation is also 100% i.e. silence again, right But HDiSim plays ding anyway. What's wrong Thanks in advance ...Show All

  • SQL Server Calculated Members are not displayed in SQL Server 2005 Management Studio

    Hi, all here, I am having a question about the visibility of calculated members. Why we can not see the calculated members from SQL Server 2005 Management Studio But when we browse cubes, we can see the calculated members. But why Management studio dose not display the calculated members Thank you very much for any helpful guidance and advices for that. With best regards, Yours sincerely, Yes Calculated members are only visible i BI-Developer Studio and in Management Studio if you start a MDX-query. The idea is to make all changes to the solution in BI-Developer Studio because you actually make scripts of all parts of a cube there. In management studio all your changes are not scripted but directly implemented. You can ad ...Show All

  • Visual C# How to create a new object of an unknown/changing type?

    For a couple of days now, i'm stuggeling with the next problem: Let's say i have an abstract class called "car". From this this class i have derrived the classes Audi, Austin, Bentley, BMW etc. abstract class car { /*...*/ } class Audi : car { /*...*/ } class Austin : car { /*...*/ } class Bentley : car { /*...*/ } class BMW : car { /*...*/ } //etc. Now i create an array: car [] cararray = new car [10]; In this array, there can be every derrived (car)class. Now i want to create a new object carfromarray, which has the same type as cararray[0], but i don't want a copy. One way to do this is: car carfromarray; if (cararray[0] is Audi) { carfromarray = new Audi() ...Show All

  • SQL Server Can you help pls? trouble using a variable @myvar in a script

    Hi I have this script: use mosaikDB761 exec sp_MSforeachDB ' use [ ] declare @myval char(150) set @myval=(select collation from syscolumns where id=object_id(''syscomments'') and name=''text''); select text collate @myval as mytext from syscomments print @myval; ' But i get an error near @myval like this: Server: Msg 170, Level 15, State 1, Line 5 Line 5: Incorrect syntax near '@myval'. If I run the script without select text collate @myval from syscomments I get no error. I get the good results: SQL_Latin1_General_CP1_CI_AS SQL_Latin1_General_CP1_CI_AS Latin1_General_BIN SQL_Latin1_General_CP1_CI_AS SQL_Latin1_General_CP1_CI_AS ...etc But If I run the script by replacing @myval with a real value like this: SQL_Latin1_Ge ...Show All

  • Visual Studio Express Editions The Form1_Load event will not occur

    This is very disconcerting. Any new project will not show the main window. I noticed that the Form1_Load event is not happening even though the Form1_Load () sub is clearly specified as the handling procedure for the load event in the events section of the properties window for the Form1 form. Does anyone knows what is going on. I even did a side by side comparison of an older program, stripping it from everything and leaving only one form, called Form1 and a new project containing also one form called Form1 and made sure everything was equal in both instances of the IDE but still…the new project appears to run correctly but exits without every loading Form1 while the old one works as expected. I also uninstalled the net framework 3 ...Show All

  • .NET Development Interop COM: SOMETIMES, com object become System.__ComObject.

    I have to interop with COM and transport the IUnknown pointer between managed and unmanaged code. I used to create the COM instance in managed code like: appDomain->CreateInstanceFromAndUnwrap to create Object and pass it IUnknown pointer to unmanaged Code. Later, I get the IUnknown pointer and try to get the object like: step1: Build a Variant using IUnknown pointer; step 2: Marshal:: GetObjectForNativeVariant. In the most time, the procedecure works well. :( The PROBLEM is the return value of GetObjectForNativeVariant sometimes become System.__ComObject. The PROBLEM is ramdom. :( And I can not point out the reason) I has tried Activitor::CreateInstance, it doesn't work well, too. ...Show All

  • Visual Basic MsgBox always return "no" regardless of what the user click

    I am using VS2005 and have a messagebox inside of an event that does not work properly. The code is below: If Microsoft.VisualBasic.MsgBox( "Do you want to save your changes" , MsgBoxStyle.YesNo) = MsgBoxResult.No Then Exit Sub End If The problem is regardless of whether the user clicks Yes or No, it always returns No. If I add another MsgBox in the code immediately before the if statement, then the if statement will always work properly. (see code below) Microsoft.VisualBasic.MsgBox( "Dummy MsgBox" ) If Microsoft.VisualBasic.MsgBox( "Do you want to save your changes" , MsgBoxStyle.YesNo) = MsgBoxResult.No Then Exit Sub End If I can't figure out what is wrong h ...Show All

  • .NET Development Regex errors

    Hi, I'm trying to split a string that holds the full path to a directory using Regex(i.e Regex *regex = new Regex(S"\\");, however I keep getting the following error : parsing "\" - Illegal at end of pattern Parameter name: \. Is there any other way to split up the directories, or to fix this error (Moderator: Thread moved to the Regular Expression Forum and Title tweaked for quicker thread understanding during a search) Hi Chris, Add '@' to the "\\". My example code is: Regex rx = new Regex(@"\\$"); string [] tests = { @"\first-last\", @"last\", @"\first", @"no"}; foreach ( string test in tests) { if (rx.IsMatch(test) ...Show All

  • Windows Forms Change Windows "Start" Buttan

    Hi everybody ;) Can somebody explane to me, how is possible to change the "Start" Button on Windows XP, with a simple VB ControlPanel Prog. Today I get a simple VB prog. from somebody, it si a sipmle VB app. look like this: with one textBox fot writting, two buttons for changing name of "Start" , two other buttons for two language version, and one "Start" button you can see the changin name of button "Start" . I wirtte for example: "something" ----> if I click one button "Change a Star tot" -----> it will be changed on my windows the button Start to-----> "something" and when I click on a second button "Change it again to Start" --- will be & ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA 3d models invalid texture

    Hello, I wish to use my 3D models I've created in 3D Studio Max. This is possible using the export function. XNA can handle the FBX format. However, employing this exported model gives the following error: Error 2 Invalid texture. Face 0 is sized 367x480, but textures using DXT compressed formats must be multiples of four. It is hard to believe all of my textures should be of the format multiples of four. This leaves a lot of the available 3D models in the dark. Is there any way of avoiding this error Or am I missing something Thanks in advance. That is a limitation the exporter, but also a limitation on alot of hardware. Not all hardware supports non power of two textures. In cases where it snot suppor ...Show All

  • .NET Development Update Issue

    I'm updating my data table this way: DataRow row1 = this . Ds . Tables [ "Group" ]. NewRow (); row1 [ "Name" ] = this . txtNewGroup . Text ; this . Ds . Tables [ "Group" ]. Rows . Add ( row1 ); this . AdGroup . Update ( this . Ds . Tables [ "Group" ]. Select ( "" , "" , DataViewRowState . Added )); But later when I access the added group in the dataset, the Id column(which is auto-increment) returns DBNull value. To solve this, I refill my dataset again which needs new connection to be established with sql server and it affects my application performance. Is there a way to force the adapter to update the table with the new Id TIA ...Show All

  • SQL Server SQL 2005 Mirroring with Sharepoint 2007

    Hi, iam from Mexico, somebody has installed SQL 2005 with mirroring and sharepoint 2007 regards. thanks Hi guys, I wrote a script and an article about SharePoint and Mirroring on my blog. Blog: http://chandlersblog.at.im If you have questions just write me an email or add comments into the blog. greetings from austria!! chris ...Show All

  • Visual C# C# Visual Studio User Control Designer Bug

    Does anyone else have this problem I am using Visual Studio 2005 Professional, Service Pack 1 is installed just for information. This happens in all my controls, but only for labels. I have my labels in the designer partial class as internal, so I can refer to them in code from my client controller (parent object that does the displaying). Also my labels are in a seperate region called Controls in the designer. Just to give all the information. If I build and keep the designer closed, I can modify the code and everything works. If I open up the control in the Visual Studio Designer (The graphical editor) and so much as change a property or add a label, or anything, Visual Studio removes all my labels from the controls re ...Show All

©2008 Software Development Network