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

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

GunaChinna

Member List

MSP.Saami
Bertrand Caillet
T72
Tom_Liu
J.A.J.
javawaba
Handi
grimdog
Viesta
Visual Basic Expert
SteveLK
Liam404
Yelnik
Basiclife
XJDM003
hackbabu
2livelarge
mrobold
Lilach
j22
Only Title

GunaChinna's Q&A profile

  • Visual Studio 2008 (Pre-release) Globalization & Localization

    Hello, I'm working through the WPF Globalization & Localization tutorials. This is a very powerful feature. And pretty easy to use. I was able to Globalize my application. I also followed the instruction to localize my application (with culture de-DE). But when I change my regional and langauge options I still see the english text (from culter en-US) Here is how I'm doing it: * Add <UICulture>en-US</UICulture> to MyApp.csproj * Build the app. * Use LocBaml.exe to generate csv file. * I change the csv file. * Use LocBaml to generate a new MyApp.resources.dll * Create a directory in my bin\debug foder and call it 'de-DE'. * Copy the generated MyApp.resources.dll into the de-DE * Go to control ...Show All

  • Visual C++ Static constructor in .lib not executed

    I have a mixed .exe that uses a static native .lib, VS2005 SP1 I've found that in some cpp files that are part of the lib the constructors of global objects are not called. I've never before noticed the problem on the main .exe so perhaps is something connected to linking with the lib file. The only way I've managed to have the constructor of the global object be called is to add a global function (say "void DummyFunction() {}") in the cpp file that gets directly called by the exe. When doing this the cpp file global object constructor gets correctly called before any code starts to execute (and thus before the dummy call is executed). It seems like if no function in the cpp file is directly called by the exe the code in the cp ...Show All

  • SQL Server developing custom components by extending the SSIS stock data flow components

    Everything I've read says that custom data flow components are built by inheriting from the Microsoft.SqlServer.Dts.Pipeline.PipelineComponent class. But the stock components such as the Derived Column data flow transformation must each be implemented by their own class. So how do I base my custom components on those classes The documentation for the PipelineComponent class doesn't list any such subclasses. Not possible unfortunately. Those classes are not overrideable. There is functionality hopefully coming in the next version which may mean this is possible (although via a slightly different method). -Jamie ...Show All

  • .NET Development Create lookup

    How does one create a lookup at runtime Please see my code below: Dim dsNames As New DataSet Dim userAdpt As New OleDbDataAdapter( "SELECT * FROM [User]" , DBCon) Try DBCon.ConnectionString = csWBoard DBCon.Open() userAdpt.SelectCommand = New OleDbCommand( "SELECT userID,fullName FROM [User]" ) userAdpt.Fill(dsNames, "User" ) cmbFind.DataSource = dsNames cmbFind.DisplayMember = dsNames.Tables( "User" ).Columns( "fullName" ).ToString cmbFind.ValueMember = dsNames.Tables( "User" ).Columns( "userID" ).ToString cmbFind.SelectedValue = dsNames.Tables( "Booking" ).Columns( "userID" ).ToString DBCon.Close() DBCon.Dispose() Catch ex As Exception MsgBox(ex.Message) End Try ...Show All

  • Visual C# How could I create an Estimated Time Remaining?

    How could I create an Estimated Time Remaining (for a progress bar or percentage) Like this: Progress: 35% Estimated Time Remaining: 1 min 23 sec Thanks, Get a timestamp when you start the process DateTime starttime = DateTime.Now; To calculate the remaining time you will get the time spent so far TimeSpan timespent = DateTime.Now - starttime; From the total amount of seconds spent and the progressbar you can calculate as estimate of what remains. int secondsremaining = (int)(timespent.TotalSeconds / progressBar1.Value * (progressBar1.Maximum - progressBar1.Value)); The time spent divided per item already processed multiplied by the items remaining will give a estimate close to reality if the am ...Show All

  • Visual Studio Express Editions install a program from C# express with only .Net 1.1

    Is this possible I wrote a program for my associates at work, unfortunately I made the huge mistake of not checking whether or not they had .NET 2.0 installed, unfortunately, they do not, instead they have .NET 1.1. I cant ask them to install 2.0 so im in a pickle, is there any way to set up my program to only use .NET 1.1, i dont mind modifying my code or anything, if there is, please please let me know. Thank you! Express generates assemblies that only work with the .NET 2.0 framework. You could recompile your app using the .NET 1.1 command line compilers but that's quite awkward. Ask you friends to download and install the .NET 2.0 framework , it is a one-time installation they'll eventually need to ma ...Show All

  • Visual Studio Team System Unable to connect to the Windows SharePoint Services

    Hi, I had originally posted "TF30059: Fatal error while initializing web service ". We went ahead, rebuilt the server and reinstalled TFS. Installation went fine and I can create a project on the server using Team Explorer. On the client machine I can connect to TFS and access the project, but cannot create a new project. The wizard completes almost all the steps, then bombs on: Unable to connect to the Windows SharePoint Services at servername.ucr.edu. I have added myself as a WSS administrator on the server. I have checked the RegProxyFileCache.xml file on my local machine. The logfile is lengthy, so I've only include the exception towards the end. ***************************************** ---begin Exception entr ...Show All

  • Visual C++ Problems with Char*'s and LPCWSTR need help

    I am trying to use the openregistrykeyex or openregistrykey function from the windows.h include file and I have the following code HKEY hKey = NULL; char * temp = "String" ; int len = strlen(temp) +1; wchar_t *wText = new wchar_t [len]; if ( wText == 0) return 0; memset(wText,0,len); ::MultiByteToWideChar(CP_ACP, NULL, temp2.c_str(), -1, wText,len); const wchar_t * test = wText; //long tempResult = RegOpenKey(HKEY_LOCAL_MACHINE, test, &hKey); long tempResult = RegOpenKeyEx(HKEY_LOCAL_MACHINE, test,0, KEY_READ, &hKey); Neither work and I can't understand the cryptic error codes if someone could help me unravel the error codes error code = Error 1 error LNK2028: ...Show All

  • Software Development for Windows Vista Smaller Exe once Manifest is apply

    Hello, I'd like to know if it is normal than the size of exe decrease once I put a manifest with mt.exe It looks strange to me, and I couldn't find information about this. Thanks in advance for any help, Regards, Okko Most resource editors (including mt.exe) clobber the 'end of file' data - data outside of the declared image sections in the executable.  I assume this is probably a setup or a self-extractor that you've tried to manifest, as these commonly make use of that technique as a place to house their payload. If that's the case, and the utility you're using doesn't have an option to add a custom manifest or have some built-in requestedExecutionLevel functionality, you can try ...Show All

  • Windows Forms Delete all the files while UnInstall

    Hi All I created a setup project for a windows application with lot more files with respective directories. The DLL files and other few files are not being deleted while doing uninstall/Remove from setup. How to remove these folders and files while doing uninstall/remove. Some time I thought we can call a batch file to remove all the directories and files but for this we need to know where our application is installed (e.g C:\Program Files\MyApplication ). It would be grateful if any helps.... Thanks Check the properties for each of the files you want to remove in the Setup project. Make sure the 'permenant' property is set to false. If it is set to true it will not be ...Show All

  • SQL Server Order of Deployment packages

    HI, I have a query regarding the order of deployed packages in SSIS (MSDB) I have four projects in my solution (SSIS) and i need to deploy and test them frequently, whenever i deploy them, they are deployed in no particular order what so ever. Even i created some folder in MSDB (for each project) but coudnt able to deploy project in its corresponding project . I have read something that you can do in it XML configuration manually but this does not solve my problem as I have to deploy them very frequently (it will be a hard task to change XML every time I deploy packages). Is there ne solution of it or MS has left this alone like this MS!!! it shud be, atleast if not more, in alphabetical order. Did I say ne thing wrong ...Show All

  • Visual Studio Express Editions Problems Compiling

    I'm having troubles compiling my program and I'm not sure why it isn't generating the correct names. G:\RadASM\Cpp\Projects\TypeSpeech>cl TypeSpeech.cpp /link /nodefaultlib kernel32.lib user32.lib gdi32.lib ole32.lib sapi.lib Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. TypeSpeech.cpp Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. /out:TypeSpeech.exe /nodefaultlib kernel32.lib user32.lib gdi32.lib ole32.lib sapi.lib TypeSpeech.obj TypeSpeech.obj : error LNK2019: unresolved external symbol ___security_cookie referenced in function "long __stdcall WndPr ...Show All

  • Audio and Video Development How to set and call titleEvent and ChapterEvent?

    I followed the spec example (Z.6) and put a titleEndHandler(evt) in my script file. And added EventListener (addEventListener("title_end", titleEndHandler, false) on top of my script file. But after my title play through, the event is not called. I thought the event should automatically fired. Do I need to do anything on the playlist too The event is automatically fired when you leave the title - either by playing through to the end or jumping into a new title. How are you confirming that your titleEndHandler function isn't being triggered Have you added any other event handlers Are they firing ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Does XNA support C++

    Will/Does XNA support the C++ language If I programmed a game into C++, could I import it to the XNA Studio ...Show All

  • Visual C++ compiler bug? readonly. prefix opcode not generated for calls to T::Address()

    (Apologies if this is known, but I didn't find it on a search.) The following methods generic<typename T> static void Ref(array<T, 2>^ x) { x[0, 0]->GetType(); } public static void Ref<T>(T[,] x) { x[0,0].GetType(); } both result in the following IL: method public hidebysig static void Ref <T>(!! T [0...,0...] x) cil managed { .maxstack 3 L_0000: ldarg.0 L_0001: ldc.i4.0 L_0002: ldc.i4.0 L_0003: call instance !!0& !! T [0...,0...]:: Address ( int32 , int32 ) L_0008: constrained !! T L_000e: callvirt instance [ mscorlib ] System.Type object :: GetType () L_0013: pop L_0014: ret } The call to Address() is not prefixed with readonly, so when called by: Ref<Objec ...Show All

©2008 Software Development Network