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

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

Sqnyy

Member List

Vaish
Dan Mikkelsen
Khurram Javaid
J M B
Diffused Mind
elena.n
Ashley Novak
vb_ff
Butterflyangel02
NT2
darrellp
user32
builtbikes
funkmonkey
Problem with Creating a Report
leopord
INTPnerd
bozydar
Fata1Attack
breceivemail
Only Title

Sqnyy's Q&A profile

  • Visual Studio Express Editions Need help with program

    I am writing a program that is pretty much a magic 8 ball It compiles and runs My problem is when i run it the second time the variables and outputs are all messed up and do not get reset here is the code: #include <iostream> #include <string> #include <windows.h> #include <stdlib.h> #include <time.h> #include <stdio.h> using namespace std; int compare(string question); //functions void cases(int num_coord, int answer); int main () { char again; string question; int num_coord; srand ( time(NULL) ); //random number for a different int random_num = rand ()%5; //answer for each question cout <<"Ask the magical 8 ball!!!"<<endl; Sleep(600); ...Show All

  • Visual Studio 2008 (Pre-release) Why Avi play failed when i change the parent of MediaElement

    Hi all i want to change the size of my video, so i have two Viewbox,viewboxA is 400x400 and viewboxB is full screen. i put my mediaelement in a grid(g) and put g in viewboxA,when i double click on g, i remove it from viewboxA and put it into viewboxB, and double click again, i move it back to viewboxA. That's all i want to do.There is only one problem: After i removed g from one viewbox to another, the mediaelement failed, and a few seconds ( sometime soon and some time long, depends on the size of the video file) later, the mediaelement replays automatically. the fail information is like below: e.ErrorException {"Exception from HRESULT: 0xC00D11CD"} System.Exception {System.Runtime.In ...Show All

  • SQL Server Loading from a denormalised table

    Dear All, I have a very large (well, size is relative I suppose !) transaction table. It consists of about 2 metrics and 8 dimensions. Of these 8 dimensions, a few are attributes of others really - say cusno is the dimension, but accman, type, and cusname are attributes of the cusno dimension. About 300 million rows in all. Right, it appears to me that I need to script out this table into a star schema prior to cube setup, and then create a Data View that shows this. This seems pointless to me - just extra processing - but I can't find a way to avoid this. I thought maybe I could just load one table, and mark all but the metrics as logical keys. This does process, but doesn't create the right aggregations (or something) as the num ...Show All

  • .NET Development Problem with TableAdapter Updating Database

    I am porting a database program from VB6 to VB 2005. I have decided to rebuild the forms from scratch. I am trying to use the drag and drop features to build the first form. The form has a detail section for one table, and a DataGridView for the second table. The database is an Access database. The two tables have a Relationship defined between to employee ID fields with a foreign key contstraint. When I use the BindingNavigator delete button to delete a record, both records in the two tables are deleted from the DataSet and the form, but when I reload the form, the records are back. I've tried using the default code created for the Save button, as well as writing other code to try and make the TableAdapter update the database, but with ...Show All

  • Visual Studio Express Editions Microsoft.Directx~

    Ok well I just got a new computer so I'm slowly moving everything over. I'm starting to notice that alot of my old projects have errors in them because of refrences seem to be missing. I'm not sure why this is... Any ideas why the Microsft.Directx one would be missing I thought it came with vbe.. Thanks in advanced.. you need to download the managed runtime/sdk files - I believe this would be the reason why its not being included in your project as when you load a project into VS, it will check all the dependancies/references added to see if it's available on your system. Try downloading ths, installing and see if it helps at all: http://msdn.microsoft.com/directx/sdk/ ...Show All

  • SQL Server SQL Sever computer name

    I don't have any errors to share, but I have a question. What kind of problems (if any) would I encounter if the computer name where SQL Server 2000 or 2005 was installed included special characters An example would be FNB_(1). Sorry I gave you a bad example. I would still like to know if special characters in a computer name can affect SQL Server. How about FNB_1. Thank You. ...Show All

  • Visual Studio Team System GetTeamProjectsForServerPaths or how to get list of all projects under Source Control on TFS?

    Please help. I need to get list of all projects under Source Control on TFS and I try to use the following: TeamProject [] TeamProjects = vcs.GetTeamProjectsForServerPaths( new String [] { "" }); But what should I pass into GetTeamProjectsForServerPaths IP address of TFS or anything else That method is designed to locate the Team Projects based on a set of files or server paths, and is really useful for getting the Team Projects referenced by a list of files (i.e. the pending changes list) To get a list of the Team Projects, you can simply call VersionControlServer.GetAllTeamProjects() Good luck, Martin. ...Show All

  • Smart Device Development Tabpage, panel cann't capture mouse-click event

    Hi Experts, I am creating a form and putting one tabcontrol on that form, now i am trying to put panel control on one of its tabpage1. Now whenever i am trying capture any mouse event on that panel i am not able to capture any mouse event on that panel. one more thing i would like to add that i am handling that mouse events in another .cs file. for example: i have created a form in form1.cs and on that form1.cs i have created tabcontrolwhich contains two tabpages, and one the tabpage contains the "panel" and there is one another .cs file i.e "sign.cs" in which i am trying to capture the mouse event occured on that "panel". But it doesn't seem to work out. Am i missing something while initialisation of contr ...Show All

  • Visual Studio Team System Development Project Plan not picking up all information

    When I open the Development Project Plan and load all the work items, the start dates and end dates are not loaded. Which may or may not lead to that the blue bars on the right are not shown. Why isn't Microsoft Project picking up the start dates and end dates /Chris Still doesn't pick it up. Actually, its kinda funny because every time I open the Development Project Plan.mpp I have to import all work items (via Get Work Items) to see the work items. This does not import the start or finish dates, or the area and iteration. If I click Refresh just after the import the area and iteration fields are updated. However, the start and finish dates are never updated. I would have expected that the ...Show All

  • SQL Server How to send a mail through a container loop?

    hi everyone, I've created a Send Mail task which works properly and now I'd like to send that email n times. How do I such thing. I moved that task inside Foreach loop container and then I choosen "Foreach From Variable Enumerator" and then I've created a Int32 variable. And now, I don't know how to tell that increments that variable TIA, Use a For Loop container and not a ForEach container. Set the InitExpression to @[User::Counter]=0, the EvalExpression to @[User::Counter]<n, and the AssignExpression to @[User::Counter]=@[User::Counter] + 1. HTH, ...Show All

  • .NET Development How to remote an object derived from System::Collections::Generic::List in C++

    Hello I derived an object from System::Collections::Generic::List public ref class CMyObject { // some methods here }; public ref class CMyList : public System::Collections::Generic::List<CMyObject^> { // some methods here }; I'd like to remote this object but I can't derive it from MarshalByRefObject because of limitation on multiple derivation. So how can I mark it as remotable Marco Yes I can. But in that case I have to provide the implementation for the interface. How can implement the interface without writing all the code for all IList methods Also, I have a lot of classes derived from System::Collections::Generic::List and I'd like not to rewrite the implementation code for each of them. Mar ...Show All

  • Visual C# using the ScriptControl

    Hello, I'm using the script control in order to run scripts written in vbscript. The scripts contain calls to c# based COM DLL. I'm not sure why but when I use the script control some objects work fine and other causes excecption in the following lines: object obj = myObject; module = scriptControl.Modules.Add( "MyObject" , ref obj); I think it is something to do with some COM flags I haven't turned on. can someone help Thanks. ...Show All

  • SQL Server Information on the Navigator class

    Good morning, I'm trying to use the Microsoft Clustering Viewer on my custom clsutering plugin algorithm but I'm facing some problems... Well... The question is: what information should I gather to pass to what methods of the Navigator class to make the Clustering Viewer work I'm following the C++ samples. I've read the tutorial on how to construct a custom plugin viewer on C# but it's not what I'm looking for. Thanks a lot. The managed plug-in tutorial is available as part of this download: http://download.microsoft.com/download/f/7/4/f74cbdb1-87e2-4794-9186-e3ad6bd54b41/DMMgdPlugInAPI.msi ...Show All

  • Windows Forms Validating the input on DataGrid

    First, forgive me that my English is very poor.....(please don't laugh..... ) I have a database and a table (create by SQL Express) with 2 fields. First field is ProductID(Vachar, primary key), second fields is Qty(decimal). It's no problem when bounded to DataGrid (after add connection, add data source, and drag the data source to the form). But then I have some problem : 1. Add new record on DataGrid (by click the icon (+) in the bindingnavigator). when I type the ProductID that already exist, of course it will appears error message, but how can I design that it can displaying my messagebox.(If use Try catch, where must I put it). 2. How to validating the Qty field that just accept the range 0 to 80. 3. How to create a sea ...Show All

  • Windows Forms Bitmap Images

    Hi there! I am making images out of data arrays, and then displaying them in a form inside a picture box. The thing is, the display seems to be interpolating between pixel values in order to smooth out the image, to make it look better I guess. But I actually want a purely pixelated image, so that each pixel looks like a square block of a single colour (gray scale actually). I havent been able to find any setting or methods in the bitmap class to change the interpolation method, so if anyone can help me out that'd be great! Thanks a lot Joe Thanks JeroGrav, I'll look at this. I thought of doing this before, but I was worried that I might have to do more computation. I have a large picture box in which I ...Show All

©2008 Software Development Network