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

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

LivingstoneTech

Member List

developer810
clint 2
interpro1
Michel Péres
mognog
Adam Tappis - IMGroup
fly_eye
John Aschenbrenner
CV.
UnKnown Nick
Hifni
PedroMarques
stanjo
Arshu
peebman2000
smoothdogg00
Rockman Eugene
mruniqueid
dube_1969
maqk
Only Title

LivingstoneTech's Q&A profile

  • Visual Studio Tools for Office DateTimePicker over Citrix skips years

    Hi, I have an Excel application using VSTO. The date time picker works fine not under Citrix. However when used in Citrix the years cannot be incremented by one year, when clicking the up or down button on the year section of the date time picker. Is there away to overcome this Thanks. Ben. ...Show All

  • SQL Server SQL Server 2005 - Scheduled jobs stop working

    Our system is using SQL Server 2005 SP1 running under Windows 2003 Server and database mirroring are adopted. Howerver, recently, we discovered that the all scheduled jobs in SQL Server stopped working suddently. The jobs had no errors and the SQL Server Agent was still running. All just fine but no jobs were working and they just like sleeping in SQL Server. Even database mirroring monitor job stopped running and it should run every two minutes. It is very annoying. Why this happen and how to fix it Thanks. DId you try to restart the SQL Server Agent. Either the Service Account was disabled, the password expired, someone changed the password (but not in the Service Console) or the Account was ...Show All

  • SQL Server changing database owner to access diagrams

    hello, i recently changed the machine name of my development computer and am now no longer able to create or view any diagrams for the sql database that was created by the old machine name user. i receive an error where I cannot make myself "the dbo of this database." i can see the old name in the "owner" properties field of the mdf database, but the box is grayed out and i am unable to change it to the new machine/user name. is there a way to change the owner of the database to my new machine/user name the new name has admin rights and the computer is a standalone workstation not connected to a network. i am using sql server 2005 express edition with visual web developer. thanks! ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. MultiSampling

    PresentParameters presentParams = new PresentParameters(); presentParams.Windowed = true; device = new Microsoft.DirectX.Direct3D.Device                      (0,                     Microsoft.DirectX.Direct3D.DeviceType.Hardware, this,                     CreateFlags.SoftwareVertexProcessing, presentParams); this is how I create device.... How to enable Multi sampling With this line : presentParams.MultiSample = MultiSampleType.TwoSamples; constructor of device is throwing InvalidCallException........ HELP ...Show All

  • .NET Development Javascript "Access is denied" error with a form in an iframe

    Hello there, I have a form in an iframe, and the iframe is sticked on another document (.asp) which has some forms on it too. I'm also using AJAX for ASP.NET, but I think that hasn't got to do with it. Everytime I click in a textbox, I'm getting the error message "Access is denied" (javascript error). It has something to do with the forms on the parent page. Is this problem familiar I hope someone has a solution for my problem. With kind regards, Gideon It has certainly something to do with ASP.NET AJAX 1.0. I found the solution for my problem on the following URL: http://weblogs.asp.net/bleroy/archive/2007/01/31/how-to-work-around-the-quot-access-denied-quot-cross-domain-frame ...Show All

  • Windows Forms How to set and check Low Battery Alarm level and settings through software?

    I am trying to develop a battery test. One part of it will set the low battery alarm to 75% and verify that it triggered, then reset it to the original value. I have looked in many places and cannot seem to find it. However, I know windows is doing this somehow through their Power Options GUI in Control Panel. Anyone care to shed some light on this issue There is ULONG BatteryLevel, which is the percentage level for the alert. BatteryLevel is inside struct SYSTEM_POWER_LEVEL. SystemPowerLevel[0] is for critical battery and [1] is for Low battery alarm. SYSTEM_POWER_LEVEL is inside GLOBAL_USER_POWER_POLICY, which is inside GLOBAL_POWER_POLICY. Use GetCurrentPowerPolicies to read current values. U ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I need to create a mesh from scratch

    Hi Xnacers: I need to create a mesh the from scratch, not load a predefined mesh from an x file using the content manager. I have looked into the ModelMesh and I see that it has Vertex and Index buffers but there is no constructor defined. Is there a way to create a mesh without loading it from a file The code (MDX 2.0) I need to port to Xna is the following. I want to know if this is posible. The steps I used to create a in MDX 2.0 mesh where: //1)we create the mesh mesh = new Mesh (this.device , solidPrimitiveIndexList.Count , solidVertexList.Count , MeshFlags.IndexBufferManaged , PositionNormalTextured.Format); //2) set the vertex buffers using (Graphi ...Show All

  • Visual Studio Express Editions if statement

    Hi, Can you please let me know what is wrong with the following if statement I believe the following values should make the statement to show the messagebox. Do you agree Thanks intPosHomeUS= -1 intPosHostUS= 7 intPosHomeUK= 7 intPosHostUK= -1 if (!(intPosHomeUS > 0 && intPosHomeUK > 0) || (intPosHomeUK > 0 && intPosHostUS > 0)) { //show messagebox... } else { //print report... } I agree. And it does. Be sure to post your exact code. !(intPosHomeUS > 0 && intPosHomeUK > 0) == !(-1 > 0 && -1 > 0) == !(false && false) == !(false) = true Note that your statement is equivalent to: bool term = intPosHomeUS > 0 && intPosHomeUK > ...Show All

  • Visual Basic Test for Web Availability

    I need to test for availability using a test site such as http://www.ABC123.com/test.htm that returns <html><head><title>TEST</title></head><body><p>TEST</p></body></html> I've tried the My...download but it fails when their is no web access ( the try and catch mechanism doesn't catch the failure). so... if something( http://www.ABC123.com/test.htm ) then ... else ... end if Any help would be greatly appreciated. Sorry, but I have no idea on how to use HttpWebRequest. Until your post, I didn't know it existed. Any suggestions on how to use it Your help and suggestions are greatly appreciated. ...Show All

  • Visual C# Run Windows Application From Windows Service?

    Hi, I have made a windows service that has a timer checks for a certain time to remind me. Now the time is reached so i want the service to display an alert!! I have made a windows app that shows the alert but when i run it from the service it runs but not GUI displayed!!! I can see it runs from the Task Manager but i cant show the form. So is there any way to dispay i GUI alert from a windows service Thanks a lot Hi major, Below is the code which we use to print files(can be .pdf,txt,doc ). SetDefaultPrinter( "\\01hw111683\\ZoneThree" ); ServProcess.StartInfo.CreateNoWindow = true ; ServProcess.StartInfo.FileName = "c:\\Projects\\test.txt" ; ServProcess.StartInfo.Ver ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Speech SDK is a recommended XNA download? :D

    Speech SDK works with XNA :P There is NO connection between the Speech SDK and XNA. I'm not sure which ULR people were looking at to see a related resources section that connected the two (I just checked out the  speech API downloa d and cannot see any reference to XNA). So I suspect that any link was accidental and may be to do with th way the MSDN site handles those 'related resources' sections. The only 'sound' technology included in XNA Framwork is XACT, which has no microphone support (XInput returns DirectSound referencs for the headset functions and no DirectSound in XNA). Since Speech SDK is native code it also wouldn't be possible to use on the xbox anyway since managed -> native interop is not supported there. ...Show All

  • SQL Server how to install SQL server as a service?

    as the qn says, how do i do that need it to be always ON. i wanted to ask if i can set SQL server to start as soon as my system starts so that it is always on. I think your reply answers my qn. will try out the command ...Show All

  • .NET Development what is the impact of static method calls

    Hi, I am working on enhancement of an existing .net application. I found there are lot of public method calls declared inside the classes. I know this is not good practices So I am contemplating to change those method to normal method calls. But before that I am curious to know what is the impact of more public static method definition/calls(performance, memory....). thanks chandra babu chandrababu wrote: I found there are lot of public method calls declared inside the classes. I know this is not good practices So I am contemplating to change those method to normal method calls. What do you mean you want to change from "public method calls" to "normal met ...Show All

  • SQL Server Problem with ConditionAction SqlLogin

    I have a problem based on some security settings that I hope any of you can explain for me. I have made a ConditionalAction and specified a SqlLogin (and SqlUser). It compiles, the service gets started but every time the conditional action gets fired, an error message occurs in my event log. The error message says something like "the principal SqlLogin does not have access to myDatabase under the current security context". The SqlLogin do have access, I've giving all possible permissions to make sure it is not a permissions problem. And when I login to Management Studio using my SqlLogin, I get to run the very same query that fails when executed from within NS, with no errors. Any ideas of how I can give my ...Show All

  • Visual Studio Express Editions Can VS EE use winsock2?

    Hello, I have this piece of code, from "Getting Started With Winsock" article here on MSDN: #include <winsock2.h> #include <iostream> void main () { WSADATA wsaData; iResult = WSASartup(MAKEWORD(2,2), &wsaData); if (iResult != 0) std::cout << "WSAStartup failed: %d\n", iResult; return; } I'm getting error C1083, yes, the path variables are set correctly and I have followed the instructions for the PSDK download (three times, in fact), and yes, the files are actually in the correct directories. Why am I unable to compile this It compiled fine including winsock2.h, alone, but when I start trying to utilize the types in there I get error C1083. Thank you. BW ...Show All

©2008 Software Development Network