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

Software Development Network >> Satya vani's Q&A profile

Satya vani

Member List

sroughley
BrettDerry
dmouser
bbaldwinwa
mamoismax
Evan Mulawski
fbdf
sandipan
smp
ishkmi
ChrisSmith
Rajesh batchu
olgaF
Crane101
geneway
mcheung
nick5454
Penny111
dstorch
createdbyx
Only Title

Satya vani's Q&A profile

  • .NET Development MFC and Managed C++ Web Service

    Hi all I need to develope a Web Service using C++ because some of the functionality to be added is code already done in C++ using MFC. I've been testing the Web Service with Managed C++ and I'm not been able to add MFC classes to the code. My question is: can MFC classes be added to Web Service (managed c++) If so, how can I add it And another question: can MFC classes be added to Web Service (ATL Server) If so, how can I add it Thank you very much in advance Vicent ...Show All

  • SQL Server NULL values returned when reading values from a text file using Data Reader.

    I have a DTSX package which reads values from a fixed-length text file using a data reader and writes some of the column values from the file to an Oracle table. We have used this DTSX several times without incident but recently the process started inserting NULL values for some of the columns when there was a valid value in the source file. If we extract some of the rows from the source file into a smaller file (i.e 10 rows which incorrectly returned NULLs) and run them through the same package they write the correct values to the table, but running the complete file again results in the NULL values error. As well, if we rerun the same file multiple times the incidence of NULL values varies slightly and does not always seem to impact the ...Show All

  • Gadgets Question: using activex controls on a gadget

    Hi, i am leroy (spydaz) i have recently read the tutorial on windows sidebar gadgets. and the tutorial on sidebar gadgets... Firstly i use VB6 and Ms.Office.2003. i would like to begin building gadgets.. Is it possible to use activex controls on a sidebar gadget. As with regular WebDesign / HTML. ie design the control in VB6 Mycontrol.OCX and use it in a sidebar gadjet. ie: mini Database Form Project... as i saw with the templates available as samples the were all refferenceing then new architecture .net *ExpressEditions. You can use ActiveX controls with your gadget. If you're providing your own ActiveX control, you should write your own installer that installs and registers the ActiveX control, and copies the g ...Show All

  • Software Development for Windows Vista How do I access Activity.Parent at design time?

    I would like to set the default values of a couple of properties on a custom activity, depending on what type of parent it has been dropped into at design-time (and possibly that parent's properties). What's the best way to do this I can't find a natural override in the custom designer, and it doesn't seem to make sense in a custom validator. If you look at the OnActivityChanged event, you can bind to e.Activity and from there you can get e.Activity.Parent and navigate the tree however you would like, eg: protected override void OnActivityChanged( ActivityChangedEventArgs e) { base .OnActivityChanged(e); Debug.WriteLine(e.Activity.Parent.Name); ...Show All

  • SQL Server Report Layout - forcing absolute position

    Greetings, I have a report with all of the required data, but am having trouble with the positioning of the elements. The report has header-like, body and footer-like sections but I am forced [I think] into using only the body section of the report since SSRS won't let me put fields in the header/footer area (msg: fields cannot be used in headers or footers). btw - my report is always one page... never more. The center section (a table) may change in number of rows, but it will always fit on the page. So -- easiest way to ask this is: how can I lock the position of a field (or text box) to ensure it will always be in the same spot (acting like a header / footer) Thanks in advance. I ...Show All

  • .NET Development Problem with c# and Access DB

    Hi, I got a strange problem, that doesn't accours all the time, it happens from time to time and that make it hard for me to debug it. The problem is that the application is looking for the DB on other location than it suppose to. In the connection string I defined only the name of the DB "Main.mdb", that define the application to search for the DB in the current location, but sometimes, it looks for it on the desktop. Any ideas Appreciate any suggestion. Jivago If you specify only the name of the database the application will look in the current directory for the database....sinnce you can not always tell what the current directory is...you should always specify the path to the database even if it is relativ ...Show All

  • Visual Studio 2008 (Pre-release) UI layout the old way

    Hey I just started coding with WPF. I have an old project I would like to convert to .NET 3.0. But the new layout concept makes it a bit funny. I just want to place the buttons and textboxes as I would in .NET 2.0. But is there a way to get the layout to work as in 2.0. I don't like all the auto size and so on. I just need the old grid layout to place my controls where I want them and no more. Why would you want to do things the bad old way :-P I think you'll find it not that much harder to add auto-layout. Use a canvas instead of a grid. Or set HorizontalAlignment=Left, VerticalAlignment=Top on everything. ...Show All

  • Visual Studio Express Editions commands

    where do i go to learn about all the vb commands, as i read these posts i am learning about commands that m books dont tell me about. how can do somethhing if i dont know the commands. things like accept and so on http://msdn2.microsoft.com/en-US/library/03c7a3zb.aspx http://msdn2.microsoft.com/en-us/library/c8aebh9k.aspx Best regards, Johan Stenberg ...Show All

  • Visual C# Exception.Message brings more than defined

    Hi, in a web service, i have a webmethod and, in some cases, i’m generating an ApplicationException this way throw new ApplicationException("APP..."); in my application i catch this error with a SoapException like this: catch(SoapException ex) { MessageBox.Show(ex.Message); } The thing is i don’t obtain TESTING..., i obtain something like "System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ApplicationException: APP...\n at Service.HelloWorld(String nome)\n --- End of inner exception stack trace ---" My question is: how do i obtain only the message "APP.." and not the rest... Thanks MAIA I tried to use the field Code. ...Show All

  • Smart Device Development Help! How to get current date and time, how to reproduce an avi file.

    Hi, this is the first time I try to create an application for smart device (Win Mobile 2003 Second Edition, using VC++ native) and I've some problem: - how can I get current time and date (I usually use _strdate and _strtime, but it doesn't works with smart devices). - How can I play an Avi file in my application (possibly frame by frame) (I usually use Vfw32.lib, but I haven't found nothing similar for win mobile). ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D graphics and how to do a simlpe put pixel ? (old school style :) )

    Hi people, i have installed XNA with c# and thats its seems to be a pretty good tool but there's not so much documentation for the moment. Im actually seeking on how do a simple putpixel on the screen, i was thinking on creating a Texture2d object then set some data in it and finally draw that texture to the screen but im quite lost on how to create the texture, i ahve tried to create one but i got an exception error on the rutime. Any help would be really apreciated. Thanks, Nicolas Please post some code. There are so many things that can go wrong. Without some code from you it’s hard to tell what you have done wrong. ...Show All

  • SQL Server IN CLAUSE

    Hello, I think I'm getting something in SQL SERVER that is none sence for me at least... Example: SELECT * FROM A WHERE A.ID IN (SELECT B.ID FROM B WHERE A.NAME='ABC' ) This query is returning DATA and It works... in SQL SERVER 2000 Can I invoke an external table in a subquery that is using IN clause This is not possible in many other DBMS... I don't know if this a BUG (offcourse It's possible with an EXISTS clause but It should be possible with IN clause) If SQL Server lets you do this then fair enough. You don't have to use this feature if you don't want! Chris ...Show All

  • SQL Server BCP Interactive - from script

    I have a script where I'm doing a bcp out - I need to have the script do the format file on export. Is there a way to run bcp interactively from script, accepting the defaults THat way it will make a format file for me. yes, you can bcp in without a format file. We've never ever had to use a format file when bcp'ing in or out. Of course our datatypes always matched, and we always use -n, but I'm sure -c works as well. ...Show All

  • Visual Basic Vvarious user controls need to reference Module1.vb

    Module1.vb needs to be available to various user controls which utilize methods in this file. Where do I put this file and then how do I reference it from within the user control projects Can I wrap these interop Functions into a class and instantiate it I can create a class library within a solution but not a 'module library' Thank you for allowing stupid questions. -Greg Module1.vb Imports System.Runtime.InteropServices Module Module1 Public Declare Function SetSelectedAxis Lib "foo.dll" ( ByVal Index As Long ) As Long Option Strict Off Option Explicit On Public Class Common Public Declare Function SetSelectedAxis _ Lib "foo.d ...Show All

  • Windows Forms Print Preview problem(Bug)

    Hey, I have this code in the PrintDocument control under the PrintPage event: private void printDocument_PrintPage( object sender, PrintPageEventArgs e) { RtextboxUC thisrichtextbox = GetCurrentTextBox(); //Start printing text and store last letter... checkPrint = thisrichtextbox.Print(checkPrint, thisrichtextbox.TextBox.TextLength, e); //Check if there should be more pages if (checkPrint < thisrichtextbox.TextBox.TextLength) { e.HasMorePages = true ; } else { e.HasMorePages = false ; } } There are no errors, but when I test it on my program and click print preview...when it opens the PrintPreview dialog It shows the dialog that is telling you how many pages it is det ...Show All

©2008 Software Development Network