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

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

Tobey79

Member List

JennyG
frank chen
Kangaroo_Marco
Prasant Swain
Phantisy
Xcel
P R W
DVD_SH
P_Moriarity
GlennM2
Leonard Lee
Toni Greco
Terry G.
mr hankey
oaix
StevenR2
Simon Dahlbacka
kperson
Andrei Faber
MrOctree
Only Title

Tobey79's Q&A profile

  • .NET Development Dataset records

    I am using VisualStudion Visual Basic 2005 how do I or can I assign an individual record or row in a dataset to a variable to be used elsewhere in the program. There doesn't seem to be an index I can use. Your answer was right on the money. Adding ToString solved the problem. tried it with second column "Score" and retrieved that information also, so I am in business. I want to thank you for the response, I was pulling my hair out and was looking for a corner to cry in. Thanks again. JohnWP ...Show All

  • Visual Studio 2008 (Pre-release) Move Image using MouseMove and TranslateTransform

    Hi There, need some advice again... I got a WPF Project. In there I got a class inheriting from System.Windows.Controls.Image. This class is hosted by a Form. Inside this class i use the MouseDown / MouseUp / MouseMove Events to be able to drag the image control. In the class i also have a global TranslateTransform object. Inside the MouseMove Event i calculate the Offset the mouse has moved and add it to the X and Y Values of the TranslateTransform. Then I am applying this Transform to the control itself. this.RenderTransform = m_TranslateTransform Now i do encounter a strange behaviour. If i move the mouse only once and leave it still the MouseMove Event gets fired continously, so my image moves and moves and moves until i ...Show All

  • Visual C++ Is this ISO C++ conformant?

    I wrote the following simple program and could build it happily. #include <stdio.h> #include <conio.h> int main() { int i; printf("Integer please>"); scanf_s("%d",&i); _getch(); } I have two questions about this code. First, is this code 100% ISO C++ conformat I could build this, with language extensions disalbed. Second, is the _getch() function always thread -safe Thank you very much. Takashi Toyota wrote: The fact is that I could build this with language extensions disabled. Disabling langauge extensions means that I can get standard code. Is this interpretation wrong Well it's not part of the ISO C++ standard, that's for sure. Those fu ...Show All

  • Visual Studio Express Editions Dll Errors

    I tried using VC++ to create a win 32 appon a Win XP SP2, It compiled fine. But when running, LoadLibrary gives a load address of O as a float or NULL as a string. Error code is 7E for Kernel32.dll. I tried using regsvr32 and almost all the DLLs return a " Dll loaded but DllRegisterServer Entry Point not found. I have had a hard time already configuring VC++ on my system while the Borland compiler I use on my Win 98 works perfectly. The code below will compile but wont run... #include "windows.h" int main() { HMODULE my_lib = NULL; HMODULE my_lib = LoadLibrary("kernel32"); printf(" load Library is at %x ", my_lib); return 0; } I could reinstall... If it solves the proble ...Show All

  • Visual Studio I really wish someone would help me!!!!!!!!!!!!!!!!!!!!!!!

    I can't print my report...I'm new at C# and .net, and this is making me insane... PLEASE SOMEONE.....I have a VERY simple report...and It won't do anything...no errors nothing... I just thought of something after posting my last response. You might want to raise the same question in the forum for SQL Server Reporting Services since .rdlc files are kinda sorta based on the format used by SQL Server's reports. The link for that forum is: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=82&SiteID=1 Allen ...Show All

  • Visual Studio 2008 (Pre-release) Activate always on top fullscreen window

    Hi! I have a window that is most time hidden (I call Hide()). When I show it, I want to be in fullscreen mode, so I set WindowState = Maximized and TopMost = True. The problem is that the window doesn't get sometimes focus (the previously active application gets the keyboard messages). I tried to call Activate(), but it didn't resolved anything. Is there a certain way to set TopMost, Maximized, and to show a window in order to gain focus Thank you What triggers the showing of this window If is it triggered by a mouse click in the same application, the window should come up as activated and have focus. However, if you are working in some other app, and the first app shows this maximized window, then it wi ...Show All

  • Visual Basic how to hanles Datetimepicker 's check event?

    hi,everyone: i want to deal with the DateTimePicker 's check event ,but no this event,how can i do when user change the checked property ,i will do something ,but how can i capture the "checked changed " event There is no CheckChanged event, as you found out. However, when the user clicks the checkbox herself, the ValueChanged event will run. ...Show All

  • SQL Server Problem starting and using SQL Server Mangement Studio

    I am interested in working with SQL Server Mangement Studio instead of always having to set-up my data in visual web developer. I downloaded and installed it and when I start it I receive an error "Cannot create a stable subkey under a volitle parent key." I am including the details of this message below in case that helps. My only option is to continue. Not sure if this is causing the next problem, but I thought I should include it anyway. When I continue and try to open a database I receive the error "SQLWB - SQL Server Management Studio has encountered a problem and needs to close. We are sorry for the inconvenience." What am I doing wrong I have tried uninstalling it and then reinstalling it. I am pretty new to vis ...Show All

  • Visual Studio 2008 (Pre-release) Tcp error 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted

    I have developped an application that call a WCF service Two ChannelFactory<T> has been opened in try block and they are close in finally block. This operation is carried out in a while condition and it's executed 30000 times. while (i<30000) { try { OPen ChannelFactory<T> OPen ChannelFactory<T1> } finally { Close ChannelFactory<T> Close ChannelFactory<T1> } } When i arrive at 2000 calls i have this error : System.ServiceModel.CommunicationException: Could not connect to net.tcp://srv-mpl-int12:4151/ISupplier. Tcp error 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted. ---> System.Net.Sockets.SocketException: Only one usage of each socket add ...Show All

  • Visual C++ No Hit with Breakpoints in an Unmanaged DLL

    Dear sirs, I have a solution containing 3 projects: an unmanaged C DLL, an unmanaged C app which uses this DLL, and a managed C# app which also uses this DLL using DllImport. When I use the C app with the C DLL>Properties>Debugging>Command, breakpoints are hit in both the C app and the C DLL. Also, the modules window lists both the C app and the C DLL in this case, and confirms that symbols are loaded for both. But when I use the C# app, only breakpoints in the C# code are hit, but not those in the C DLL (the latter ones appear as empty red cycles). Also, the modules window doesn't list the C DLL in this case, just the C# app, for which symbols are loaded. So I cannot request to load the symbols of the C DLL. The C# ap ...Show All

  • Windows Forms How to: design-time or run-time (again)

    Hi, I need a control to have a different visual appearance during design-time as opposed to run-time. Nothing fancy. As proposed so often before I use the " this .DesignMode" property. However: 1) Create a CustomControl and in the OnPaint() do something like: if ( this .DesignMode) pe.Graphics.FillRectangle( Brushes .Red, new Rectangle (10, 10, 10, 10)); 2) Create a UserControl and in the designer drop the CustomControl onto it. You will indeed see the red rectangle as intended. 3) Drop the UserControl on your main form. The red rectangle will not show. Apparently the DesignMode property is limited to Controls actually being editable. Understandable but I need design time appearance everywhere while w ...Show All

  • Visual Studio how can i use the DiagramView to develop application in out of VS Addon .

    HI all. i will build a custom workflow designer in my application for my end customer. the VS SDK 's diagram components is so cool, and can i use these components like DiagramView in my application thank in advance Hi again Matt, 1) We haven't made this decision yet although we will certainly re-examine the requirement in future. 2) I'm afraid I don't understand what you mean by this. ...Show All

  • SQL Server DTS Mail task breaks after SQL 2005 uninstall/install

    When I try to add a Mail Task in my SQL 2000 DTS, I get a message "Please make sure semmap90.dll is installed. When I try to register that dll using regsrv32.exe, it says the entry point is not found. Any ideas on how to get my e-mail task back Ok - I have this working on 2000 and 2005, but I went through some hurdles to get here. When I installed the Microsoft SQL Server 2000 DTS Designer Components, I noticed the \80\Tools\Binn directory had both dll files - semmap.dll and semmap90.dll (both were not there originally). SQL Server 2000 was throwing tons of errors when loading enterprise manager. I uninstalled the DTS designer components, still had errors ...Show All

  • Windows Forms How to copy forms from one Project to another ?

    Using C#, ADO.Net, Vis Studio 2005, SQL Server: I've got one Project using 'myDatabase'. I made another project that uses the same database. In the new project, I did the "Add->Existing" and brought in a form from the first project complete with with TabControls, etc... The files were the myForm.cs, myForm.Designer.CS, and myForm.resx. When I compile the new project, I get the following errors referencing the code in the myForm.designer.cs file: Error 1 The type name 'myDataSet' does not exist in the type 'myProject.myProject', (where the 'myProject' is the project name and namespace both.) ...and a whole bunch of lines similar to: Error 2 The type name 'myDataSetTableAdapters' does not exist in the type ' ...Show All

  • Visual Studio Problem is getting page number

    I am writing a VB windows application with VS2003 when I use the code Dim nPages as Integer nPages = crReport.FormatEngine.GetLastPageNumber(New CrystalDecisions.Shared.ReportPageRequestContext whcih is copy from http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do;jsessionid=A4E59B144061F70675DA8A210C1FC317 cmd=displayKC&docType=kc&externalId=c2013559&sliceId=&dialogID=360384&stateId=1%200%20356275 I don't why the crystal report viewer get nothing to display and error it would be great if someone could help me to solve this problem Thank you Depending on how big your report is, it may be still trying to calculate how many pages are in ...Show All

©2008 Software Development Network