Jose Osorio's Q&A profile
Visual Basic What is the use of IFrame concept in Web appplications?
What is the use of IFrame concept in .Net Web applications An IFrame is a standard HTML element. It essentially gives you a "page within a page". Check out this link: http://www.w3.org/TR/REC-html40/present/frames.html . The element is deprecated though, and you shouldn't really you use it if you want your code to be accessible and usable. ...Show All
SQL Server Wrong totals in named sets
Hi In BI Development Studio I create a name set with this sintax: [CATALOGO].[CATALOGONIVEL3].[Tiempo Mantencion] [CATALOGO].[CATALOGONIVEL3] has another two members instead of [Tiempo Mantencion] After that I create a calculated member with this SUM ([SET Tiempo Mantencion] , [Measures].[HORAS JUSTIFICADAS]) It works fine in almost all cells in the cube, but when I ask for the others two members of [CATALOGO].[CATALOGONIVEL3] it does NOT returns NULL it returns the same total of [CATALOGO].[CATALOGONIVEL3].[Tiempo Mantencion]. When I open one this members (it exists a sub level named [CATALOGO].[CATALOGONIVEL4]) the cube show a null cell in the subitems (thats right) and the [CATALOGO].[CATALOGONIVEL3].[Tiempo Mante ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3d tools using mfc+Directx
hi all, Basically am a entry level game programmer now i had started my path on tool development, presently i am developing a software like motion editor for that i need to write code for the basic setup so i want to know is there any article of tutorial for creating the basic setup using MFC + directx. ie multiple viewport (you know what a editor needs) please help... KissPsycho thanks senthil, i had already downloaded the directx sdk, i will go through it and let you know my progress in future, are you from tamil nadu ...Show All
.NET Development Random General Network Error
I have developed an ASP.NET page that simply connects to a database and retrieves information. It then takes this information and displays it. This works just fine, however, randomly I will get a General Network Error. I have narrowed it down to the connection.open line, however I cannot find a work around or fix for this problem. It doesn't happen all the time which makes it very hard to diagnose. I am using a custom made library to connect to the database which closes any connections it opens automatically and sets said object to null. I am sometimes able to run the application for long times on end (hours) and others it will load once and then with a refresh it will crash. Any help will be greatly appreciated. ...Show All
Windows Forms Windows application deployment. VS 2005
Visual Studio 2005. Spendin some hours for reasearch, I still cannot figure out how to use Windows Installer project for updates. What I could do is create installer (setup.exe and *.msi) files, that can install my simple application. What I cannot do is figure out how to handle updates/upgrades. Particular problems are According to help I have to see properties like "Project code", "RemovePreviousVersion", I don't see them. I don't want to remove previous version, actually. I just want files to be overrited with new ones. Some particular steps should be done. I figured out that Install class should be created, but still, how to prevent some files to be rewritten during update How to identify that t ...Show All
Visual Studio Express Editions Opening the cd drive
I know this thread has been posted loads, and the answer is something like: Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" ( ByVal lpstrCommand As String , ByVal lpstrReturnString As String , ByVal uReturnLength As Integer , ByVal hwndCallback As Integer ) As Integer 'Module Public Sub OpenCD() Dim res As Integer Dim returnstring As New VB6.FixedLengthString(127) res = mciSendString( "set CDDisk door open" , returnstring.Value, 127, 0) End Sub Public Sub CloseCD() Dim res As Integer Dim returnstring As New VB6.FixedLengthString(127) res = mciSendString( "set CDAudio door cl ...Show All
Visual Studio 2008 (Pre-release) Question regarding sessions
Hello: I've a couple of questions regarding sessions and reliable messaging (RM), namely: The session mode property of the service contract attribute can have the following values: Allowed, NotAllowed or Required. This option is reflected in the generated WSDL (portType and operation elements) via a couple of attributes, namely “usingSession”, “isInitiating” and “isTerminating”. These attributes belong to a microsoft namespace. Why are they needed Why is it necessary to pass this information to the client I’m assuming that the creation of WCF sessions at the service side is based on the binding level (WS-ReliableMessaging) sessions. So the client should only have to know that a RM session must be ...Show All
Visual Studio Tools for Office Office 2003 Standard to professional upgrade
Hello Our solution is composed of Outlook addin and Document level addin for Word. Office 2003 Professional is a prerequisite installation in our case since our addin is build using VSTO and .NET 2.0 (C#). One client of ours has Office 2003 Standard installed and would like to upgrade to Office 2003 PRO to start using our solution. We want to avoind unistall and reinstall of Office and install only the necessary componennts required by VSTO solutions. Which Office Components will we need to install is it just the .NET programability support is there anything else in PRO that needs to be installed Thanks The best place to discuss this would be the office.setup newsgroup . FWIW, as ...Show All
SQL Server Exporting data to Flat File
I'm using SSIS package to export some data to a comma delimited CSV file. The problem is that some of the fields have commas in them. Is there a way to deal with this other to changing the delimiter It depends on your requirements. As I see it you have 2 options: 1) Change your delimiter 2) Change the commas in the data to something else. -Jamie ...Show All
Windows Live Developer Forums Windows WM_MOUSEWHEEL message
Hi I have an application running on my lap top which should trap the WM_MOUSEWHEEL message allowing me to scroll backward and forward through my data. However, the high word of wParam is always zero even though the low word reports the shift/alt/cap status correctly. I have confirmed that my window has input focus and that GetSystemMetrics(SM_MOUSEWHEELPRESENT) returns true. Any ideas why this should be My only thought is that I'm using a laptop which has a local mouse pad and I also have a USB mouse. How does windows discriminate between the sources of wheel messages, or does it simply just 'OR' them together Hi Chris, You need to ask this question on one of the MSDN Win32 development forums. This Windows L ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Translating C# DirectX example to C++/CLI
Hi, I try to convert/use a DirectX C# sample in C++/CLI but got stuck on following C# statement: vb = new VertexBuffer(typeof(CustomVertex.PositionColored), 3, device, Usage.Dynamic | Usage.WriteOnly, CustomVertex.PositionColored.Format, Pool.Default); How would you convert this statement to C++/CLI I couldn't go farther than this. vb = gcnew VertexBuffer(CustomVertex::PositionColored::GetType, 3, device, Usage::Dynamic | Usage::WriteOnly, CustomVertex::PositionColored::Format, Pool::Default); Seems that I don't have the right equivalent expression for "typeof"... Any hint Thanks for help, Stephane ...Show All
Visual Studio Express Editions Does Edit and Continue work in VS2005?
Hi all, I imported a VC6 project into VS2005, and I cannot get E&C to work - whenever I hit a breakpoint, the menu option is always greyed out. I have the following compiler settings: /Od /D "_DEBUG" /D "_WIN32_WINNT=0x0500" /D "WINVER=0x0500" /D "WIN32" /D "_WINDOWS" /D "_VC80_UPGRADE=0x0600" /D "_AFXDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MDd /Gy /Yu"stdafx.h" /W3 /nologo /c /ZI /TP /GR /errorReport:prompt and linker settings: /NOLOGO /MANIFEST:NO /DEBUG /SUBSYSTEM:WINDOWS /MACHINE:X86 /ERRORREPORT:PROMPT WS2_32.lib Version.lib Winspool.lib Kernel32.lib and, Tools->Options->Debugging: Edit and Continue -> Enabled. ...Show All
Visual Studio Express Editions Problem with asembler code
Hi I have problem when I add asembler cofe to my project: private : System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { _asm { mov ah, 00h; } } Compiller show errors: ------ Build started: Project: Tekst, Configuration: Debug Win32 ------ Compiling... Tekst.cpp d:\visual c++.net\tekst\tekst\Form1.h(88) : warning C4793: '__asm' : causes native code generation for function 'void Tekst::Form1::button1_Click(System::Object ^,System::EventArgs ^)' d:\visual c++.net\tekst\tekst\Form1.h(86) : see declaration of 'Tekst::Form1::button1_Click' d:\visual c++.net\tekst\tekst\Form1.h(86) : error C3862: 'Tekst::Form1::button1_Click': cannot compile an unmanaged function with /clr: ...Show All
Software Development for Windows Vista Vista Ultimate x64, Visual Studio 2005 and VerQueryValue API
Hi The following code runs fine on XP Pro 32, XP Pro 64, Windows Server 2003 32 and Windows Server 2003 64; it faults on Vista Ultimate x64 if (!VerQueryValue(buffer, spv, out versionInfo, out len)) The failure manifests itself as a dialog saying: vshost.exe has stopped working (and then Vista goes off to collect more info). It does not return from the function call, but enters it and freezes (other tha displaying the dialog). Note this is pretty much the same code as in this MS article: http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vcwlkUnsafeCodeTutorial.asp It is the second call to VerQueryValue in example 3. I cannot find the product bug/feedback center that I used f ...Show All
Windows Forms DataGridView and ColumnDividerDoubleClick
Heya All, Daft question regarding the datagridview maybe someone has a solution to. I need both events for: Private Sub dtgCurrentYear_ColumnDividerDoubleClick( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewColumnDividerDoubleClickEventArgs) Handles dtgCurrentYear.ColumnDividerDoubleClick MsgBox( "ColumnDividerDoubleClick" ) End Sub Private Sub dtgCurrentYear_CellDoubleClick( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dtgCurrentYear.CellDoubleClick MsgBox( "CellDoubleClick" ) End Sub Which in THEORY should only be fired when: a) the column divider is double ...Show All
