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

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

h1

Member List

NickNotYet
Malleswar
r3n
yem
RDH123
m99ab
h1
Number10
Bartosz
jaomello
CharlieRussell
Jim Perry
Arska
rsws
Fippy
http://www.ilkon.com
Dwz2006
ajeeshco
Loicus
furjaw
Only Title

h1's Q&A profile

  • .NET Development I have a 32 bit vb.net service running on 64bit..

    Hi, I have a service that get installed and runs fine on both 32 and 64 bit. This service listens for incoming messages coming from another client software that is installed on a terminal server.. The client is able to connect to the remote host server and communicate with the 32 bit service... But when I try to connect to the 64 bit server to communicate with the service it does not work. Is there anything I have to do on the 32 bit service that is running on the 64 bit in order to make it work properly Both the service and the client service is written in VB.Net 2005 Pro... Thanks Hi, In your apllication you could force the length of the integers it uses using for example.>> Dim myInt As In ...Show All

  • SQL Server Logins across Linked Servers

    Hi. I wish to be bale to call a proc on a linked server but i am having difficulty with logins. I have a sql 2000 server linked to a sql 2005 server. To be able to call the proc on 2005 a login for the user must exist on both 2000 and 2005, and the login on 2005 must have access to the db and 'grant execute' on the proc. Is there a way to allow access to the 2005 db without having to perform maintenance of the logins to ensure they match I know i could just have 1 login on 2005 that all users on 2000 are mapped to but this means new users added would have to also be mapped in the future. Is it possible to call the stored proc on 2000 by impersonating a login that exists on both servers Something similar to 'EXECUTE AS LOGIN = ' ...Show All

  • Visual Studio Express Editions Trying to set up a database connection to Access Database

    Hello all; I've been trying to create a connection to an access database, however, as I've been going through alot of the questions on this site, as well as the various MSDN documentation, I am very confused as to which way I should go with this. Here's my situation: I have an Access Database with one table and 5 fields that I am needing to have data entered into it. I have one form with the five textboxes bound to the particular access table fields. My dilemna is that I'm not sure whether to use the dataset or tableadapter to connect to the database, or if I should use the OleDB connection and if so, what kind of sample code can I use to Insert the data into the database All the examples I've seen use the Data reader to export the d ...Show All

  • SQL Server t-sql help using contains

    My query below takes a couple seconds when run without the where clause. When run with the where clause it takes like 25 seconds. How can I improve it. SELECT top 400 s . story_id , spec . title as title , s . title AS story_name , CONVERT ( char ( 10 ), u . air_date , 101 ) AS rundown_date , '' AS video , '' AS cg_text , i . text AS item_text , i . type , i . content_status , k . keyword , i . editorial_description AS description , d . description AS notes , s . editor AS creator , i . original_material_id AS clipname , i . ar_material_id AS material_id FROM na_rundown_state_view AS u INNER JOIN na_rundown_tbl AS spec ON u . rundown_id = spec . rundown_id INNER ...Show All

  • Visual Basic How do you use Serialization and deserialization to save a class which contains other classes ?

    I have a class <Serializable()> _ Public Class bunchOfData Implements ISerializable Public abool As Boolean = False Public  asingle As Single = 0 Public alist As List( Of PointF) = New List( Of PointF) <SecurityPermissionAttribute(SecurityAction.Demand, _ SerializationFormatter:= True )> _ Overridable Sub GetObjectData( _ ByVal info As SerializationInfo, ByVal context As StreamingContext) _ Implements ISerializable.GetObjectData info.AddValue( "abool" , abool) info.AddValue( " asingle " , asingle ) info.AddValue( " alist" , alist ) End Sub Protected Sub New ( _ ByVal info As SerializationInfo, ByVal context As ...Show All

  • Visual Studio 2008 (Pre-release) svcutil.exe datacontract only is not generating minOccus='1'

    Call "C:\Program Files\Microsoft SDKs\Windows\v1.0\Bin\svcutil.exe" /dconly /out:..\..\DataContractXSD.cs /t:code "$(ProjectDir)Data.xsd" Data.xsd file has < xsd:complexType name =" AccessInfo "> < xsd:sequence > < xsd:element name =" User " type =" xsd:string " minOccurs =" 1 " maxOccurs =" 1 "/> < xsd:element name =" Password " type =" xsd:string " minOccurs =" 1 " maxOccurs =" 1 "/> < xsd:element name =" ApplicationID " type =" xsd:string " minOccurs =" 1 " maxOccurs =" 1 "/> < xsd:element name =" ClientIPAddress &quo ...Show All

  • Visual Studio Drag objects to form designer from window other than toolbox

    I have a need to drag and drop from a treeview view of a health related object model. The nodes of this object model can be turned into one or more controls on a design surface. I have this working in a separate application but want to incorporate it into VS. I can't see how to do this, however it seems possible as datasource windows do this very thing. Hi Hugh Check out this article on the DesignSurfaceExtenderLibrary. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/DSExtend.asp Carlton ...Show All

  • Visual Studio Tools for Office Type IRibbonControl is not defined.

    I am trying to follow the exercise in the MSDN article Customizing the Office (2007) Ribbon User Interface for Developers Part 1 of 3 I have made it to the step where it says to insert the following to the Ribbon 1 Class (Step 6 on printed page 25 of 28) Public Sub InsertCompanyName( ByVal control As IRibbonControl) Dim companyName As String = "Microsoft Corporation" Application.Selection.InsertAfter(companyName) End Sub The "ByVal control as IRibbonControl" has a wavy blue underline and when I mouse over it states: "Type IRibbonControl is not defined" Hence the step fails and I can't complete the exercise. The odd thing (to me at least) is the line directly above that ...Show All

  • Visual C++ unresolved external error

    I am having an unresolved external problem. This is my error output: Linking... tryagain.obj : error LNK2019: unresolved external symbol _furnsh_c referenced in function _main C:\Documents and Settings\sharyl\Desktop\cspice\exe\tryagain\Debug\tryagain.exe : fatal error LNK1120: 1 unresolved externals I have the enviroment variables set so that the library that contains furnsh_c is in the lib path, and the include folders, etc are also in the system's enviroment variables. I have also added the lib that has furnsh_c to the additional dependencies. What am I missing Is it possible that I changed another setting that is causing this Thanks! Try using the linker /verbose switch to see if you are indeed linking to the d ...Show All

  • Windows Forms HelpProvider - Line break & Min/Max

    Hi 1. My mainform is a "FixedDialog". It has the MinimizeBox=True and MaximizeBox=False. Is it possible to have the help button " " left to the MinimizeBox It only turns up if I set both MinimizeBox and MaximizeBox to False. :| 2. Is it possible to have line-breaks in "HelpString on hlpProvider" in the Property Window If I write "This is\nmy text", "\n" is not read as a line-break. (The same for the "Text" property of the Label component) Kind Regards In C#, make that: this.helpProvider1.SetHelpString(this, "hello\r\nworld"); ...Show All

  • Windows Forms how can i get a username or password from mydatabase??

        Does anybody know how can i get data from my database. I construct login and register forms. In the registration there is no problem. Form add all information of user to the database. But In the login form, I have to make search entered username in my database or mydataset. I tried so much but i have nothing. pls help .....   Well remember: make sure that the field names exist in the dataset (username and password) and also the username and password are case sensitive. so the text abcde is different than AbCdE and will evaluate to false and not pick up the value. ...Show All

  • Smart Device Development Install an Exe and preserving it...

    Hello, i have an extrange question and i think this is not the right place... but i want to give a try... i need to install an exe, and that this exe and all configuration still alive after a hard reset... is there a way of acomplish that thanks!!! for it to still be in memory after a hard reset would not really be possible I believe. The only people that can customize where/how/what programs are to be kept in memory after a hard reset would be the handset manufacturer/mobile operator people who supply the handset. I'm 90% sure about this however there may/may not be a way of still keeping YOUR program in memory after a hard reset. Hard reset cleans out everything and resets back to factory settings ...Show All

  • SQL Server SQL 2005 workgroup edition on Small Business Server 2003 R2

    I have an SBS 2003 server that is running SQL 2000 standard edition which was recently upgraded to Small Business Server 2003 R2. I have installed SQL 2005 workgroup edition on the SBS 2003 R2 server which acts both as an AD server and Exchange server. I installed SQL 2005 for the purpose of using SQL 2005 for my sharepoint services on the Small Business Server R2. Now I have SQL 2000 and SQL 2005 workgroup edition installed, but I'm unsure whether I can uninstall the SQL 2000 and how to know whether the sharepoint instance is running in SQL 2005 or SQL 2000 Additionally, I have some MSDE's running for WSUS and Server Reporting which are installed by the Small Business Server installation. Which tools should I use to become fam ...Show All

  • Microsoft ISV Community Center Forums Need help with a macro (not sure if correct site... thx)

    Hi! I'm using MS Word 2003 and am trying to create a macro to edit a very long file I have. The macro would make it so easy to fix, but I can't figure out how to create it correctly. I've been using the macro recorder so it records my moves. I had copied a word using ctrl+shift+left arrow and then tried to find the word again using the "find" function and then pasting what I had copied into the find function. When I open the macro, it is looking at the find function with the "text" of my previously copied information, i.e., "ARNP" rather than the new copied/pasted info from my next selection. (Does this make sense ) I'll paste the macro below for those who may be able to help. (All I want is to be able to fin ...Show All

  • Windows Forms How can I hide the caret of a RichTextBox control?

    Hello, Can you please tell me how can I hide the caret of a RichTextBox control completely while my app is running Thanks. This will completely hide it: Set the timer1.Interval = 1; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices;   namespace WindowsApplication2 {     public partial class Form1 : Form     {         private bool hidden;         private const UInt32 WM_LBUTTONDOWN = ...Show All

©2008 Software Development Network