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

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

DKB

Member List

Chris Howarth
Áron Kolozs
dashley
GSReddy
RS Fuschillo
phamilton7733
Vormav
johnvarney
ivods
langev
JuanPa_EC
Vladimir Chtepa
Uğur Gümüşhan
Clabab
BLueDeViL
wspencers
Shouvik
BigBoom
djbjmb
Xi0N
Only Title

DKB's Q&A profile

  • Visual Studio 2008 (Pre-release) Resizing Window in XAML

    Hi I am very new to XAML (just a day old ). The issue i am facing is related to Window resizing. How do i ensure that if i resize the window, the components say a button's size , position etc should not change with the change in size of window. I know about a <window> attribute called ResizeMode, however that does not help my requirement Anyhelp would be appreciated, Please help ASAP. Regards Nitin ...Show All

  • SQL Server Opening package stored in MSDB

    I created a package using the Import\Export wizard and saved it to the local Sql server. Under Management Studio I can see the package, can run in, import it, export it BUT how am I supposed to edit (modify the thing) it TIA, barkingdog You can make simple edits like changing the property, enabling / disabling task etc by exporting the SSIS package as dtsx files in file system and opening it in SQL Server Management Studio. To perform more advanced functionalities -like adding new tasks / flows - you need to open and edit the dtsx package in Visual Studio / SQL Server Business Intelligence Development Studio. Thanks, Loonysan ...Show All

  • Audio and Video Development MFT_MESSAGE_SET_D3D_MANAGER

    Hi, all: How can I get MFT_MESSAGE_SET_D3D_MANAGER from ProcessMessage in a MFT And where to assign MF_TOPONODE_D3DAWARE and MF_SA_D3D_AWARE attributes BTW, is it possible a MediaSource to get the D3DManager interface Thanks Fei-tian On the MFT (i.e. on the IMFAttributes from IMFTransform::GetAttributes). Like I said, though, setting this attribute on the MFT's attributes store will get the MF topology loader to do what you want automatically only in the case where this MFT is a decoder and it is directly upstream of the sink. Any other D3D combinations, you'll need to do at least the D3D-setup part of the topology loader's work yourself. Becky ...Show All

  • Visual Basic Case Usage

    I am pretty much a noob programmer, but I'm getting the hold of visual basic pretty much. But in one of my programming attempts something is messed up, because as far as I know my code is good... Take this code: wait actually youre right i get an error when i enter something that does work thats weird, because before i used any case expressions it worked just fine so i should take out the integer parse from select case ...Show All

  • Visual Basic winsock.dll error

    I'm trying to run an upgraded (VB6 to VB.NET) application which uses methods available in WINSOCK.DLL in Windows\system32 file. Though this .dll is present on my machine, it shows the following error: "The application or DLL C:\WINDOWS\system32\WINSOCK.DLL is not a valid Windows image. Please check this against your installation diskette. Please suggest how to solve this error. Is it ok to copy winsock.dll from someone else's pc or download it from internet. I tried registering using RegSvr32 as follows: RegSvr32 C:\windows\system32\winsock.dll But it displayed the following error: C:\windows\system32\winsock.dll is not an executable file and no registration helper is registered ...Show All

  • .NET Development .net 2.0 WinForms Application suspends for 6 min at startup

    Hi fellows, currently I do have a very strange problem with getting a .net 2.0 application to run smoothly. Used OS: Windows 2003 (1.0/1.1/2.0/3.0), Windows 2000 (1.0/1.1/2.0) The Project has been converted from a 1.1 WinForms project to 2.0 by Visual Studio. After compiling the project and all dependencies I start the executable. There is some activity on CPU and memory for about 30 seconds (loading static data). After that the whole application becomes totally unresponsive; the application main window (which already raised the "Load" event) is only an empty rectangle on the screen. The application stays in that state for about 5 to 7 minutes and then recovers and shows the mainform. Code-wise there's nothing left to co ...Show All

  • Visual Basic sequence of execution of assembly[in code]

    can anyone of you please explain how is execution sequence like [new->initialise-> ] like that.. untill the user gets the control... Hi Zybernau well if you want to know the process starting creating new thread for the assembly this is it: 1- ThreadHelper.ThreadStart() 2- ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) 3- ThreadHelper.ThreadStart_Context(Object state) 4- Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() 5- System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) 6- System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args) And this function will call Main() Sub in your My.M ...Show All

  • Visual Studio 2008 (Pre-release) How to serialize a custom markup extension

    Context: I am serializing/deserializing my own classes using Xaml serialization. A class "Untouchable" (that I cannot modify) expose a property "Tag" of type object. I assign to that property an instance of my own class "MyObject" and I need to serialize/deserialize the object tree correctly. Deserialization is not a problem since I wrote my own markup extension MyExtension: <Untouchable Tag="{MyExtension Prop1, Prop2}" ... /> and it works correctly creating the instance of MyObject (the one that has Prop1 and Prop2) and assigning it to Tag. But when I have in memory the Untouchable object and the Tag assigned to MyObject, how can I serialize them obtaining a markup like the one I just ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Generating MipMaps

    Hi, When I create a texture using the code below the mip maps always come out as a solid color, how can i generate proper mip maps from the texture TextureImage = new Texture (device, ii.Width, ii.Height, 5 , Usage .None, format, Pool .Managed); SurfaceLoader .FromSurface(TextureImage.GetSurfaceLevel(0), textureTexture.GetSurfaceLevel(0), Filter .None, 0); TextureImage.GenerateMipSubLevels(); Thanks for any help, -Dave You are a victim of a common misunderstanding what GenerateMipSubLevels do. It is only there to create the mip maps for textures that are used as render target. And even then they need to create with special parameters. The function you are looking fo ...Show All

  • Microsoft ISV Community Center Forums can you help ?

    Hi, I have an error in my vba application. It occours only in excel 2003, but not in 2000. Its a: "Application-defined or object-defined error" Error code 1004 In the follwoing method the error occurs: Public Function SaveResultsToExcelSheet(RangeOfValues As Range, ValuesArray() As Double) As Boolean On Error GoTo Error: SaveResultsToExcelSheet = True Dim OutputSheet As Worksheet Dim OutputCell As Range Dim Counter As Long Counter = 0 For Each OutputCell In RangeOfValues OutputCell.value = ValuesArray(Counter) Counter = Counter + 1 Next OutputCell Exit Function Error: Err.Clear SaveResultsToExcelSheet = False End Function The error occurs in the line "OutputCell.value = ValuesArray(Counter ...Show All

  • SQL Server Excel Source Returning NULL

    I've a package that has a excel source. But i'm having a strange problem with it. One of the columns in the source file have a lot of null values but not all of them. But when i run the package a put a data viewer right after the source and i can see that it's showing that the few fields that should have values are also null. I've tried a lot of things but they didn't work. I need some help and fast if possible. Example: Source file.xls Name Grade OtherGrade John 30 30.23 In the DataViewer Name Grade OtherGrade John 30 NULL thanks Adriano Coura abcoura wrote: I've tried to put in the extended properties of the connection string the value IMEX=1 and it does return a value but it takes the decimal c ...Show All

  • .NET Development How to get versions of services/programs running on another system?

    Hi, I want to get the versions of the services/programs running on another system. Does any body have any idea as to how it can be done.I thought of using SNMP.However I am not sure of how to use it thanks in advance, nhd Nope. WMi components are installed from Add and remove programs. After that, it's all about queries. The query I sent will run without any additional configuration after the WMI is installed. I haven't double checked on the version part though. Are you trying to find the file version of the service running ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Availability of console SDKs

    Hello, I know that this question might be a bit off-topic in this forum, but I think this is the best place to get the answer. I've always been wondering, why the SDKs for gaming consoles are only available to large companies which are charged large fees for the SDKs. I mean: Shouldn't it be in the interest of the console publisher to make it possible to develop games for it for as many people as possible, considering that every game increases the popularity of the console So, I'd be thankful if someone could explain this situation to me. Regards Opfer I see. So it's actually quite a nice step of Microsoft to make that available for 99$ per year. If they find a way to distribute the bina ...Show All

  • Visual Studio Tools for Office Excel.Validation in vb.net, check if data is valid

    Private Function GetValidRange( ByVal validation As Excel.Validation, ByVal myrange As Excel.Range) As Boolean How to check if the data is ok, with the parameter validation Return "true or false" End Function Private Function GetValidText( ByVal validation As Excel.Validation, ByVal mystring As string) As Boolean How to check if the data is ok, with the parameter validation Return "true or false" End Function I found how add validation, remove, but i cant found how check if my data is valid, thank. This is not a VSTO-specific question. General Excel programming questions should be posted to the appropriate Excel program ...Show All

  • Visual Basic SQL Express & VB Express Debugging Strategies

    Hi, I am developing an app that uses SQL Express DB as the backend and I am finding that debugging is a major hassle. I must be looking at the problem the wrong way and thought it would be helpful if I knew how others attacked the problem. I created a SQL Express DB using the VB Express IDE. The database is in the root folder of the project. When I create the connection with the wizzard in VB express it copies the DB to ..\bin\debug. I run the app and add some records and then find a issue. I stop debugging and add some new code and run again. Depending on how I have the "Copy to Output Directory" (Usually "Copy if newer) property set the VB copies the DB back into ..\bin\debug directory and I start with a clean datab ...Show All

©2008 Software Development Network