Software Development Network Logo
  • SQL Server
  • Windows Vista
  • Architecture
  • Visual C#
  • Windows Live
  • Smart Device
  • VS Express Editions
  • Visual Studio
  • Game Technologies
  • Visual FoxPro
  • Visual Basic
  • VS Team System
  • .NET Development
  • Microsoft ISV
  • Visual C++

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

thunderchicken

Member List

AntonioP
janiv
pesplano
WtBck
thowe
Mark Gladding
ColSchmoll
Lambda88
clackey
Joe McGrath
Andrei Romanenko
Gugapriya Jagadeesan
Nguyen Dai Duong
ferrad
rah_sin
JonasHei
NaveenPN
callaway59
MazterDeath
ImperfectTommy
Only Title

thunderchicken's Q&A profile

  • Visual Studio Express Editions How to do a simple program

    Hi! I'm new in programming in vc++. Can anybody help me, i want to create a program that show a window wherein it has a drawing space in that window and whenever i click on the left mouse button inside the drawing space it automatically gets the x  and y coordinates of the point then it draws a small red circle. It also has a quit button. I have done this using Visual basic but when i tried doing it in vc++ i don't know where to start. please please i need some help. thank you. Well, if you don't have it already, you either need the standard or better version of Visual Studio, or if you have the expres ...Show All

  • Visual Basic MonthCalendar Previous Month

    I am using a MonthCalendar control. My default calendar dimensions are 1,3 (i.e. 3 months vertically) As of now on form load, it always starts displaying the current month and two months after. How can I make it load the 'previous month' , 'current month' and 'next month', in that order Thanks in advance. This doesn't score any points for elegance but (usually) works: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim aboutamonth As New TimeSpan(30 * 24, 0, 0) MonthCalendar1.SetDate(Now.Subtract(aboutamonth)) MonthCalendar1.SetD ...Show All

  • SQL Server Protecting scripts form running (accidentally) on the wrong database

    Hi In SQL 2000/7 I have a header which is placed (automatically) at the top of mainteneance and upgrade scripts: <code/> if db_name() ='Master' or db_name() ='model' or db_name() ='msdb' or db_name() ='tempdb' raiserror('Incorrect database: abort script', 20, -1) WITH LOG Go </Code> In 2K this has the effect of bombing the connection and preventing the script running against the "important" databases In 2K5 the "with log" produces an error because the user may not necessarily have the rights to raise log events unless they are admins I'm looking for a compatable way of bombing in 2K ...Show All

  • Software Development for Windows Vista i AM LOOKING FOR VISTA BETA 2

    If anyone can help please let me know I was on beta testing cant find all my info I have Beta one versions, Thank you! Sincerely, Eric Powling If you wish to become a beta member, you can do so by registering for the world-wide Windows Vista Beta Experience . ...Show All

  • Visual Studio Team System Getting latest versions for non-labeled elements in Get by Label operation

    IMy requirement is as follows: I have label on folder but that label is not present on files inside except one. Now whenever i get labeled version of folder, i get only labeled file in it. Now is there any way so that i can specify that give me latest version for all those files inside folder which are not labeled. In other words, can i get versions by specifying two rules, so that if first rule is not applicable for some element, then second rule is applied. Can someone help me in this If you know which file it is that you want to get by labeled version, you can use the following comm ...Show All

  • Smart Device Development c# to develope pocketPC/SmartPhone apps?

    Hi, I am going to develop an application which uses a lot of communication with a PDA's internal GSM/GPRS modem, but also with external units via an extension slot. Now I have heard that the .NET CF is not ultimate for this kind of work, but that Suns J2ME should be used. I have gotten the impression that communication with ports in for example C# is not very well developed. Anyone know where I can find more info on this subject, or have any opinion Thanks a lot! It really depends on what you're trying to do (e.g. what is "port" Serial port Hardware registers  TCP port ) and what experiences ...Show All

  • Visual Studio Tools for Office Is there version of Dsofile.dll applied for C#?

    Hi, I haved defined a object of DSOFile.CustomProperty named cp,but I can't the cp.value with c#. The property of value is not supported by c#, so how can I get the property of value with c#. Thanks for your help! This forum is mainly for issues related to Visual Studio Tools for the Office System but I couldn't resist. This is what I found on the DSOFile.CustomProperty in relation to c#. object get_Value() Member of DSOFile.CustomProperty void set_Value(ref object pvValue) Member of DSOFile.CustomProperty -= Maarten =- ...Show All

  • Visual C# Referencing ActiveDirectory user

    Hi, I have just simple and frequently asked question... I need to associate some data in the database with specific user, runing in ActiveDirectory environment, NTLM authentication in the application.. What should I use to connect these data together If I use GUID or SID, this could get changed, couldn't it Thanks, Jan. ...Show All

  • Visual C++ Rapid clicking of toolbar causes program to crash: help!

    I'm not sure if this is in the right forum or not, but here it is. I have been debugging and testing a program with several toolbars. Whenever I click rapidly on these toolbars for about 10 seconds, my program crashes and I get an Assert error from dockcont.cpp. Any help on this is greatly appreciated since I've been banging my head against a wall trying to fix this thing. ~Chris There's not enough information.  What exactly is the assertion   Even with this extra info, we probably couldn't help since it could be dependent on the design of your app.  My suggestion is to interpret the assertion (which basically ...Show All

  • .NET Development How to use the SerialPort Class for simple serial communications

    The SerialPort class documentation on-line and in Visual C++ Express Edition refers to a non-existing code example of two computers communicating over a serial port. Does anyone have example code of how to use the SerialPort class My app is a .NET app. on the PC communicating to a custom microcontroller based sound effects unit. The serial port is used to download/upload the sound sample data to the external FLASH memory on the sound card. The Atmel AVR uC has its own USART. Thanks. I believe the following C# sample is what you are looking for though I could not find a C++: using System; using System ...Show All

  • Software Development for Windows Vista Wait for user manipulation

    I want to create a Workflow that have automatic way and a user way. The autimatic way is, for example, for some values (expense values) and the user way is for greater submited values. how can I wait for User intervention, with a listen activity or with other how can I aply the information to the running Workflow tkx in advance Paulo Aboim Pinto Odivelas - Portugal Hey Paulo, There are two main ways for getting information into your workflow. Parameters Events I would recommend using parameters when you need to automatically pass in values and HandleExternalEvent activities for user intervention. I ha ...Show All

  • Visual Studio Team System Performance Tool - Is not working

    Development OS: Windows XP x64 Visual Studio 2005 RTM C# Windows Form application, the Solution consists of about 5 projects.. one exe, 4 dlls. All are strongly named. I'm trying to do instrumentation but am completely mystified by serveral problems and the documentation is rather poor.   I start the Wizard.. I select the assembly that's going to be the exe. I select the instrumentation option. I provide it its own path. I set this as the post-insturment event command: "C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\Bin\sn.exe" -R "C:\Projects\WinIrc\WinIrcNet\bin\INSTRUMENTED\WinIrcNet.exe" "C:\Proj ...Show All

  • SQL Server Is it possible to change the operator of an expression at run time?

    I have a report I have created in local mode, in a Winform ReportViewer using VB.net. Is it possible to change the operator of an expression at run time That is, I have a filter on a list that looks like this: Expression: =Fields!InvNum.Value Operator: = Value: =Parameters!InvNum.Value It is possible in code to change the operator from = to >= at the time I run the report If so, what is the syntax What I would like to do (don't know it is possible) is to have the operator set to >= at the time the the report is run and then set it back to = when a user selects a specific value for a Parameter for the report. Is this p ...Show All

  • SQL Server synchronizing expired subscription and publication databases

    I had a merge subscription expire and now need to synchronize two disparate databases.  How do I do so without overwriting the subscriber database with the publication snapshot   Thanks for any help you can give. The expired subscription will need to be reinitialized from the publication snapshot. Few ways to not lose the subscriber data (not yet synchronized to Publisher) is to 1. store the data in temporary tables and then after reinitializing, move the rows from the temp tables to the subscriber and then sync again. 2. Re-create the subscription with no-sync option. Also please refer to BOL topic: A Merge Subscription ...Show All

  • Visual Studio Tools for Office Unable to Delete Name Ranges in Excel

    i'm creating Named ranges in excel with following code :- ObjExcel.Names.Add(Name:=RangeName, RefersToR1C1:=MyExcelRange) But when i give following code objexcel.Names(RangeName).Delete it's giving a compile time error. Whereas when i create macro, it gives me this line only to delete Named Ranges. ActiveWorkbook.Names("Range1").Delete Pls help. Try selecting before deleting.... objExcel.Range("RangeName").Select objExcel.Selection.Delete ...Show All

©2008 Software Development Network