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

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

CraftyFella

Member List

folen
FergusLogic
chuckdawit
NewGuy212
Paula M
jori0001
David Mc Dermid
Eric Hausig
Batool
Badajoz95
enric vives
Colin Bowern
Andreenkov Alexander
Jacco Mintjes
csLearner
ryan101
mcrisf
Allan Giles
Toby Broom
Vivekanandan
Only Title

CraftyFella's Q&A profile

  • Visual Studio Express Editions RichTextBox Color Problem

    Hello everybody, I'm building a code liner (similar to cmd) but with words in different colors (just like in Linux). The following code I use to color the: txtLiner.Text = txtLiner.Text & " Failed!" txtLiner.Select(Len(txtLiner.Text) - 8, 10) txtLiner.SelectionColor = Color.Red txtLiner.SelectionStart = Len(txtLiner.Text) MsgBox( "test" ) txtLiner.Text = txtLiner.Text & vbCrLf & "Err: " & Err.Description MsgBox( "test1" ) The word Failed must have the color red. In the run mode when it displays the word failed and the msgbox the word is red but then the second line and the second msgbox is displayed the whole text including the word failed is black again. K ...Show All

  • SQL Server How do I automatically populate new rows in 15 Child tables?

    When creating a new row or record in the Master table (by an Adapter update), how do I then populate new records in 15 different Child tables These Child tables are attributes of the Master table. I am sure there is more than one way to do this... Thanks Two people have responded, and their answers are: VMazer... How to update parent-child data with an Identity column from a Windows Forms application by using a Web service in Visual Basic.NET http://support.microsoft.com/kb/310350/en-us HOW TO: Retrieve an Identity Value from a Newly Inserted Record from SQL Server by Using Visual Basic .NET http://support.microsoft.com/kb/320141/en-us Matthijs Krempel ... If you use a dataset, you ca ...Show All

  • Community Chat Microsoft and its 'new' Halo: Wars RTS Game, and Derelict Studios

    Well, as most have probably heard, Microsoft has come out with a 'new' Real Time Strategy game called Halo: Wars, a game to be made for the X-Box 360. I quote 'new', because it is not a new idea, nor shall all the credit go to those people who work in Microsoft. A Modification for the game C&C Generals, called Halogen, was a mod in the works for approximatly 3 years, where people from the community pitched in numerous hours of work and labour for the good of the  community, and a playable release was soon to come for those of us desperate to download it. Microsoft came in close to before the release and forced the memebers of Derelict Studios to close down Halogen and halt all progress on the game, and close down the ...Show All

  • Visual Studio Express Editions compiling into a .exe

    Hi everyone :) I was wondering if the projects in C# can be compiled into a simple .exe instead of going through the 'Publish' mode. Thank you for any replies :) that is correct but remember, in order to run it on other computers, the computers must have the correct version of the .NET Framework installed on their system to run your application. ...Show All

  • Visual Studio Express Editions how do i execute a command when i press a button

    hello i am new to this language and even a simple code in a button i can't make it..please help here is my problem. when i click a button i wanted it be disabled and change its text too, i try it like in VFP coding but it won't work... help is highly appreciated thank you very much to c-sharper Hello All. Madix_t: In the Designer view of your form: Double-click the button in question. This will automatically wire up the event handler for the button.Click event, and open the code editor so that you can enter code in that event handler. Then, enter the code to disable the button and change its text, like so: button1.Text = "whatever"; button1.Enabled = false; HTH. ...Show All

  • Visual C++ Calling ActiveX Methods from MMC Snap-in

    Hi ... I have a ActiveX Control and I'm using it in a MMC Snap-in. This is my first time. I have some sample code that shows how to access the properties from the snap-in. I have shown this code below. switch (event) { case MMCN_INITOCX: { // Use ATLs IDispatch helper class to access ActiveX Properties CComDispatchDriver spStatus = LPUNKNOWN(param); // Set the TestValue value in ActiveX Control spStatus.PutPropertyByName(L"TestValue", &CComVariant(7)); } break; } So ... I have a method in the ActiveX Control and would like to execute it ... For example the About box or the PropertySheet or in my case a simple method called Beep() that will make a sound. Thanks, Chris ...Show All

  • Visual Studio Team System postbuild event

    Hi, Would it be possible to add a postbuild event feature to the database project I have a scenario where I would like to run aspnet_regsql.exe utility to install/merge the ASP.NET 2.0 services database into the database that I am building with VSTS-DB. I basically want to avoid creating the ASP.NET services db schema by hand (or even importing .sql files) -- I'd rather run their tool and point it at the database created by the build. The postbuild event could provide some macros (e.g. Target database name, connection string, etc) that I can then use as command-line switches to aspnet_reqsql.exe. Thanks, Vitaly Hi Dmitriy, Thanks for your reply. I like your idea of calling xp_cmdshell, but ...Show All

  • Visual Studio Express Editions Remoting

    I made a really simple peer to peer chat program, and it works on port 1245 and does what I want for now as long as you dont have a firewall. Well, a lot of people with winxp use the firewall, so, I'm going to make my program check for a regkey similar to what MSN Messenger uses... actually, exactly like it and if it doesn't exist, it will make it. For now I'm just trying to manually put the key value in regedit at hkey_local_machine\system\.....\...\.\.\Authorizedapp\ Can I use "C:\Documents and Settings\username\Start Menu\Programs\PASSPORT\p2p instant message" as the applications .exe path Any help would be greatly appreciated, or if someone knows of a better way to do it, I'm all eyes :)   Thanks Potato K, ...Show All

  • SQL Server Erasing digit

    Hello. I have a column in my database which is holding phone number. The problem is that although I gave the number starting with zero but it will erase it automatically. So can you help me to solve this problem Thank you KHodam wrote: Hello. I have a column in my database which is holding phone number. The problem is that although I gave the number starting with zero but it will erase it automatically. So can you help me to solve this problem Thank you As Paul alluded to, you aren't storing the phone number as an integer, are you Store it as a varchar and make sure that inside your data flows that you aren't converting the phone number to an integer. ...Show All

  • SQL Server textbox in every page

    My report has a group "order_no" and after each 1 there is a page break.... on each page I want a textbox which refers to the product column in the table...  How do I get the textbox to refer to the column on that page (I no to refer to the column in the table is: = ReportItems("product").Value But now that I have moved the textbox to the page header, it returns no value!!!      Thanks in advance header fields cannot directly reference dataset fields, thats why when you moved the textbox with your =ReportItems("product").Value it returned nothing. I'd advise you to keep the textbox in the body but make it hidden and reference it from header. ...Show All

  • SQL Server SQLConnection fails from Windows Service

    Hi, I'm currently writing a windows service which will generate XML documents for FTP upload. When running the service the goal is to get records from a stored procedure, then generate the XML documents. When running the service (lokal service account) the connection fails; instead of using the supplied connection string, it defaults to the LocalService account. How can this be solved Thanks in advance Hi Ming, The service itself is running under a localsystem account The SQL server service is running as localsystem OS: WinXP (for now, development) .. later on WS2003. Yes the processen run on the same computer A quick fix would be to add NT_AUTHORIY\LocalSystem as a new use ...Show All

  • Visual FoxPro Properties/methods missing

    Looks like I've got a serious problem. Had a near crash of my Acer Ferrari 4000 over the weekend from which I recovered. Didn't notice any problems until today, doing some simple coding and realized that a new label I created was missing some properties. Uninistalled, reinstalled, SP1 installed. For example, label1 (older) Arial, Blue, 10pt. New label: Arial, however I can't adjust the Forecolor or size. Properties don't exist. Go to another label: If the color has been changed, the color property exists, if not, it doesn't. If the size has been changed that property exists. Also, before, all the Methods tended to be full for any object - now all are empty. Anyone have any suggestions Right now I'm planning on a thorough clean - including ...Show All

  • SQL Server MDX query performance is poor

    We have an application that queries an SSAS 2005 cube to do fast multi-dimensional calculations about customers for a scoring application. The cube has 10 dimensions and five measures. All of the dimensions are low cardinality except for the customer one. In short, the application loops through the customers and does the calculations it needs. The application processes 50,000 customers at a time (i.e., the customer dimension has 50,000 members in it). The typical MDX query includes the customer dimension, one or two other dimensions, and a couple of the measures. The queries are executed in VB using an ExecuteCellset, but the same performance issues are found when we copy the MDX SELECT into a query window and run it. The queries ...Show All

  • Visual Studio Team System Build Error

    I just setup TFS Workgroup. I added a new project, and created a test build. It builds fine in Visual Studio, but when I run the build through TFS it errors, and this is in the event log of the TFS build machine: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 2/6/2007 10:29:10 PM Machine: DEVTFS Application Domain: msbuild.exe Assembly: Microsoft.TeamFoundation.Build.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: MSBuild Process Id: 3240 Thread Id: 1044 Account name: DEV\TFSSERVICE ...Show All

  • Software Development for Windows Vista Workflow templates

    I have installed/reinstalled the (on a XP SP2, VS 2005): .NET Framework 3.0 Runtime Components, Windows SDK, Orcas .NET Framework 3.0 Development Tools, Visual Studio 2005 Extensions for Windows Workflow Foundation and I still don't have the workflow project templates, and the workflow tab in the toolbox although I have winfx project templates and coresponding tabs in the toolbox, and intellisense works on workflow namespace. What shall I do I am having the same problem. I do have the VS Extensions installed and yes it does appear under Add/Remove programs. Something else is amiss here ...Show All

©2008 Software Development Network