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

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

eclere

Member List

AndyJ_PS
jitendra badkas
Ian Wallace
ZAKSDG
New2SQLReporting
PRMARJORAM
Marlun
amicalrahul
Richard G.H.Lin
drew_p
smark
barkingdog
GusBraga
Six
Chimme
dougzhoez
BBPowers
BABU_NEO
Mel V
Doriak
Only Title

eclere's Q&A profile

  • SQL Server Write back with UPDATE CUBE in SSAS2005

    Hi, I have got the following problem with the write back (via UPDATE CUBE MDX statement) in SQL Server Analysis Services 2005: We want to write the value 12000 for the 4th quarter based on the existing value of the 3th quarter. Existing values for the 3rd quarter: 3rd Quarter 6000 July 3000 August 1000 September 2000 We expect the following values for the 4th quarter (like in SQL Server Analysis Services 2000): 4th Quarter 12000 October 6000 November 2000 December 4000 But the UPDATE CUBE statements writes the following values: 4th Quartal 12000 Octobe ...Show All

  • Visual Basic Console Application buffer DOS window??

    Hi everyone, Primary platform is Framework 2.0. I've got a Console Application written by means of Visual Basic and I was wondering how to resize the buffer for the DOS window. I'd like to see more information.. Now upcoming information is rewriting the old one.. Is it possible Let me know if you need further information or any clarification. TIA http://msdn2.microsoft.com/en-us/library/system.console.setbuffersize.aspx Best regards, Johan Stenberg ...Show All

  • Software Development for Windows Vista Threading issue using windowless VMR9?

    Hi, I'm using a windows VMR9 (with a custom allocator/presenter) to play back a video file. I use a seperate thread to display the frames from the VMR9 onto some Direct3D geometry. The problem I have is that just occasionally the display thread will fail in a call to Device.StretchRectangle() when copying the surface generated by the VMR9 to my own surface. I suspect this may be a resource locking issue and the VMR9 is attempting to write to the surface at the same time I'm reading from it, but I'm not too sure, and I have created my device with the 'support multi-threading' flag. Is this likely, or is there something else I've failed to realise And if so, how do I lock the surface to prevent this problem from happening (Edit: oops, just ...Show All

  • Visual Studio Tools for Office Is Microsoft taking problems serious?

    Today i came back from a 2 week holiday, before my holiday i had to investigate or InfoPath could be of use of one of our customers, i installed infopath 2007, and was looking for some developer tools for VS2005, since we want to use infopath serverside/webbased. After installing several servicepacks (why are those not advised in the microsoft updates ) i finally got what i want! (took me 4 hours). Using infopath in VS, but when creating a blank infopath c# solution i get some stupid memory error. Offcourse there is no clear error, like in 99% of all MS errors it only tells what's the problem, not what's causing it, and offcourse not how to fix it! After using The Google for 2 hours, i gave up, since the error could be caused by ever ...Show All

  • Smart Device Development how to create shortcut , and read a shortcut target ..

    hello .. please i want to ask about , how can i create a shortcut file , and read an old shortcut's target .. if i can do this in pocket pc please help .. i am using vb.net 2005 regard . thanks alot .. i just made some changes and fixed some wrongs then the code works perfectly .. :) what about this sub Public Sub CreateShortcut( ByVal FilePath As String , ByVal Target As String ) Dim sw As IO.StreamWriter = IO.File.CreateText(FilePath) Dim strLink As String = Chr(34) & Target & Chr(34) sw.Write(strLink.Length & "#" & strLink) sw.Close() sw = Nothing End Sub thanks alot .. regards ...Show All

  • Visual Studio Express Editions modulus operator for double variable

    How to use the modulus operator for tho double variable (e.g) On using the modulus operator for double variables, iam getting the following error, 15.5%3.2; error: error C2296: '%' : illegal, left operand has type 'const double' error C2297: '%' : illegal, right operand has type 'const double' Please post the solution for this problem. C++ doesn't support the modulus operator on operands of type double: you need to use modf . ...Show All

  • .NET Development UDP Listening and Sending on single port

    Hello, I am attempting to write a small DNS Server program. I find that many windows based DNS servers are either 1) to costly or 2). to complicated for what I doing. I have been reading up on DNS protocols, which trying to find any information on is a nightmare, and I have finally understand what I have to do. Now I have never really worked with UDP sockets in programing before. I have been reviewing samples and digging around and I thought I had it right, but it doesn't look like it. if someone could tell me what I might be doing wrong or have a better suggestion on going about this please let me know. (this is writing in VB, but will finally product will be C#. I use VB mainly for prototyping and learning.) Imports System Imports System ...Show All

  • Visual Basic DateTimePicker populating more then one text box

    How can I use this code with more then one TextBox Thanks Frank104 Private Sub TextBox1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.Click MonthCalendar1.Location = New Point(TextBox1.Left, TextBox1.Bottom) MonthCalendar1.Show() End Sub The first one will open the MonthCalendar below the text box when text box gets clicked on. Private Sub MonthCalendar1_DateSelected( ByVal sender As System.Object, ByVal e As System.Windows.Forms.DateRangeEventArgs) Handles MonthCalendar1.DateSelected TextBox1.Text = e.Start.ToShortDateString() MonthCalendar1.Hide() End Sub The second one will enter selected date in the text box and hide the c ...Show All

  • Visual C++ codepage in win32

    When i open a file in C++\CLI to write i use StreamWriter sw = gcnew StreamWriter (oldpath,System::Text:: Encoding-> GetEncoding(page)); How can i read/write a file in winapi CreateFile () with a specific codepage Thank You. Since you know the code page you are dealing with: For reading, I'd recommend reading the file in as binary (ReadFile, and then converting text to Unicode using MultiBytetoWideChar with the appropriate code page ID you are converting from) Similar story with writing, except convert to the appropriate code page before writing (WideCharToMultiByte) ...Show All

  • .NET Development System.TypeInitialization exception.

    Hi, I have a windows form application that works well in my computer in debug and release modes from IDE and windows explorer.  I do XCOPY deployment on other computer.  When I run the applicaiton there, it gives System.TypeInitialization exception. As expected, this exception is thrown when I call a class with only public static variables...no constructors, propterties and methods. How can I solve this issue   Please help me Thanks and Regards. Hi, In my case, that was not a programming error.  I was using XCOPY deployment and I did not copy one of the dll files to the target computer. The actual error was 'CopyLocal' attribtue for that dll was changed to 'false' and hence ...Show All

  • SQL Server EXAM 70-431: Anyone planning for it?

    I would like to collaborate with others who are taking the exam or who took it ... advices, sample exams, study guides, hints etc. Reply and share email etc. Hi , Please mail me at @ pawan_kv@hotmail.com . I have study material for this exam (70-431) and successfully completed MCITP. Regards, Pawan Kumar ...Show All

  • Windows Forms Sending email in vb.net 2005(using vb) not with smtp but the users outlook (mapi)??

    I have an application that I need to send mulitiple emails from. There are about 10 users who will have permission. However my IT Group has locked down the smtp server and will not allow "Applications" use the smtp method. I remember in vb6 I used mapi to send emails using outlook that was on the users computer thus giving my IT folks traceability of who is sending what and not having to set up 10 people on the smtp permissions. Can this still be done using outlook(mapi) It's going to be a lost cause if your IT dept only allows certain IP addresses to connect to the SMTP server. There is no way (well, few ways) to fake the IP address. Tell those losers that the guy on the Microso ...Show All

  • SQL Server Jobs lose ownership/permissions when server reboots

    This is sort of a DR issue since it involves reboots and power failures. We have MSSQL 2005 SP1 and unpatched systems, but in particular we have this problem still with the SP1 server (in addition to the unpatched systems). Running on Win 2k3. It seems that upon reboot, our stored SSIS jobs lose their pemissions and/or ownership for execution. It doesn't happen at every reboot or power failure, but seemingly more than half the time. Here is the error reported: The job failed. The owner () of job Job_1 does not have server access. But checking the properties of the job and it shows an valid owner in the Owner field. I believe we are using Active Directory for authentication and the user listed is valid in that respect. We have "fixed" thi ...Show All

  • .NET Development Display DBMS_OUTPUT

    hi,   can anyone tell me how to display, results i get in oracle server from dbms output, on my c# app. is there any way to do it, maybe like exception, or anyhow   thanx a lot  ...Show All

  • Internet Explorer Development Customizing Toolbar in IE7

    I am having a small problem. I have TWO search boxes on my browser.. One for Google toolbar, and the one that was originally there on IE7... I set my default to google. I cannot find how to get rid of the original search bar (to the right of the address bar) and just keep the google toolbar search box.. There is no option that I can find to just have the top row be an address bar..Any suggestions.. I cant even tell google toolbar to take away its search box, it is automatic.. It is ridiculous to have TWO search boxes on the toolbar.. Anyone know a way I've tried everything I know.. Thx JP In the Google toolbar for Firefox there is an option to essentially merge the Google search bar into the Firefox ...Show All

©2008 Software Development Network