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

Software Development Network >> Pirooz Javan (Old)'s Q&A profile

Pirooz Javan (Old)

Member List

Rogermon
wannabguru
irving at irvingevajoan
Smacker
sugrhigh
simonshort
kinggt4
EGShaw
debraj dhar
GavH
StephenMas
clint 2
Sinnix
Alfitsi
Muhammad Adel
reppoh
BrianEY
polymorphicx
Gregory English
d kretz
Only Title

Pirooz Javan (Old)'s Q&A profile

  • SQL Server Handling SQLServerCE DataBase By windows application ?

    Hi i have the following problem : i attempted to connect with a SQLServerCE DataBase to Insert and update its rows, but i noticed that i want the reference : System.Data.SqlServerCe i went to (Add references) but i didn't find it .. what should i do to break this problem please help me ! Hi Imad I have moved your treat to the Devices team who should be able to help you mairead PM, TS Data ...Show All

  • Visual C++ Help: C2679: binary '=' : no operator found which takes .......About CAutoPtr

    class definition: class CFGManager  : public CUnknown  , public IGraphBuilder2  , public IGraphBuilderDeadEnd  , public CCritSec { public:  struct path_t {CLSID clsid; CString filter, pin;};  class CStreamPath : public CAtlList<path_t>  {  public:   void Append(IBaseFilter* pBF, IPin* pPin);   bool Compare(const CStreamPath& path);  };  class CStreamDeadEnd : public CStreamPath  {  public:   CAtlList<CMediaType> mts;  }; //more... }   When I use CAutoPtr<CStreamDeadEnd> psde(new CStreamDeadEnd()); in my code, I got c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlcoll.h(101) ...Show All

  • Visual Studio 2008 (Pre-release) Problem with MSDTC or WS-AT

    Hello dears I have 6 connected computers without a domain. A, B, C, D,E, F. "A" has a "XSrvc" and all remaining has "YSrvc" and consumer of "XSrvc". "XSrvc" is with BasicHttpBindings and "YSrvc" with "wsHttpBindings". All Six computers have Xp wiht Sp2 and WS-AT has been configured with same configuration and same certificates. now let me tell you the scenario. When Terminal "B" wants to make a transaction with Terminal "C" it consumes service of "A". "A" creates a TransactionScope and calls the service at "C" and Then Service at "B". but it thrown exception "MSDTC is unable to unmarshal the transacti ...Show All

  • .NET Development WSE 3.0 UsernameTokenManager not working plz help!

    Hi, Im using a custom UsernameTokenManager in WSE 3.0 but it always authenticates when it should'nt. I'm missing something but don't know what.     my Web Service code is: using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [WebService(Namespace = " http://tempuri.org/ ")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [Microsoft.Web.Services3.Policy("usernameTokenSecurity")] public class Service : System.Web.Services.WebService {     public Service () {         //Uncomment the following line if using designed components         //InitializeComponent();   &nb ...Show All

  • Visual Studio Team System Preserving sub-branches

    I am using branches in TFS for a couple of reasons. The first is to maintain branches for each release so that if we get issues on our production application we can address them without picking up all the latest changes for the next release in development. The second use of branches is to maintain shared code between projects - e.g. I have some javascript files that are common to a couple of different web projects and also some Asp.Net user controls that are common, so I use branch and merge to keep these synced between the different projects. The problem I have is that when I create a new branch for my first purpose (i.e. create the branches/2.0 branch once 2.0 goes into production) I lose the branches that were created for my second purp ...Show All

  • SQL Server Problem with two strings to be concatenated have different collation???

    Hi all, I am having a little problem to use CLR Function inside SqlServer 2005. I do not see any problem with my code in C# as well as SqlServer sides. Please help if you know the solution. /************************C# Codes***************************/  using System; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using Microsoft.SqlServer.Server; public class ClrUDF {  [Microsoft.SqlServer.Server.SqlFunction]  public static SqlString GetString(SqlString str)  {    SqlString tmp = new SqlString("Hello ");   tmp += str; return tmp;  } }; /********************************************************/ CREATE ASSEMBLY [SqlClr] AUTHORIZATION [dbo] FROM 'C:\ ...Show All

  • .NET Development FTP Problem

    I am trying to login to an FTP server, to download a file. Every time I try, I get the following message: "The remote server returned an error: (530) Not logged in." I can login and download the file using DOS FTP, and CuteFTP from this server without a problem. I also changed the code to reflect a different server, and that worked fine. When I login to the server, it identifies itself as "Microsoft FTP Service". Can anyone point me in the right direction Below is my code: request = (FtpWebRequest)FtpWebRequest.Create(fileName); request.Credentials = new NetworkCredential(userName, passWord); request.KeepAlive = false; request.UseBinary = false; request.UsePassive = fals ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 Project to Windows Project

    I was wondering if there is a easy way to recompile an Xbox 360 project to a Windows project, because I can't always be connected to my xbox to test out what i'm working on since the xbox is shared by the family. So can I make a change to my program an recompile it for windows so I can see if my change worked and once i'm done making changes to the program I can then build it for the xbox and try it out. Thanks Move the 360 and Win32 folders out of the GameDir folder and put them at the same level as GameDir. Create a Files folder under GameDir and move the common files for the 2 projects into that. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Implementing input repeat rate in XNA?

    Hello all, I've been banging my head against my keyboard for the last hour trying to figure out how to do this, so i though i'd take a break, and ask for some guidance. I'm trying to implement an input repeat rate function to make the control for my game more predictable. I'd like it to function like the keyboard repeat rate in Windows (see the keyboard control panel applet for an example). It should look like this: User presses and holds key/button Single "pressed" event happens from initial depression key/button has been held down longer than "repeat delay" Multiple "pressed" events happen at the interval specified by "repeat rate" What's the best way to do th ...Show All

  • Visual Studio Express Editions c# to Excel

    hi friends, In c# application i am converting C# gridview contents to excel. Its working. But the columns are not fitted properly. I used autofit method it also not worked. Please tell me how to autofit the columns from c# in excel. Thanks & Regards, aaraaayen Hello Prya How can I read each value in a column in each row from gridview control. Pleas help me ...Show All

  • Visual Studio Tools for Office Mo A more thorough question on VSTO deployment

    Hi all, I'm backing down to make sure I find a way to deliver to my customer the next few days: I have developed an Excel template with some .NET code behind using VSTO 2005. Not the SE, the first version. My solution uses another .NET assembly (helper.dll) besides the code assembly data.dll "behind" the document (data.xlt). I added a setup project to the solution. Which isn't enough of course. I created to separate install classes, one to install a policy code group thats gives Full trust to data.dll and one to bind the data.dll path to the data.xlt document (via ServerDocument). I added the custom Action to Install the CustomSetup.dll with these installer classes. Now to my questions: Are there any walkthroughs to t ...Show All

  • Visual Studio Express Editions "the file (???) could not be loaded..." on startup

    Hi Guys, XP Pro SP2; IE7; Visual Studio 2005 Express.... The latter was working fine for more tan 4 mnths since installed. But now I'm getting the following message on startup of all Studio applications: "The file could not be loaded. An attempt to repare this condition failed because the file could not be found. Please reinstall this program." After confirmation (pressing OK) it looks like it is really "Ok" because applications work fine. But who knows what surprises and when may emerge In addition out of curiosityI did reinstall J# to no avail. Thanks in advance. Special thanks to those who know "the file..." name PS My favorite MS message (box) is: "Access denied" - ...Show All

  • Visual Studio 2008 (Pre-release) Getting values from viewbox contents

    Let's say I have a sized button with Height=30 and Width=30 at the start of the program, and that this button is inside a Viewbox. Once I start the program, I resize the window, and now my button has been scaled accordingly. My question is this: how do I access the new scaled height and width value of the button I tried the Height and ActualHeight properties, but it still says the original value (in this case, 30) not the scaled value. Looking forward to hearing the answer on this one... Thanks! Unfortunately, we do not directly support getting this information from ViewBox. Internally, ViewBox computes the scaling factor and then creates a ScalingTransform which is applied on internal Visual. B ...Show All

  • SQL Server stripping decimal data from an nvarchar value...

    I have a table that contains an nvarchar column of data. The data is actually a monetary value; sometimes with a decimal point sometimes without. My problem is that I need to strip the decimal portion of the string if it exists. From a select statement I can use: SUBSTRING ( DW_OBP_ORD_TMP_IC . VALUE , 1 , LEN ( VALUE )-( LEN ( VALUE )- CHARINDEX ( '.' , DW_OBP_ORD_TMP_IC . VALUE ) if a decimal point exists. But if one does not the CharIndex comes back 0 and my equation does not work correctly. I need to pull the data from the table, along with many other fields. How do I do this without using a cursor I have millions of rows so need a solution that will be quick. thanks in advance, Marilyn ...Show All

  • Visual C++ DateTimePicker

    This may be a simple question but I cannot find the answer to it. I am somewhat new to C++ Programming and I have a new job where all of the existing programs are written in visual C++. Anyway, on one of the applications, I need to replace a date entry textbox with a datetimepicker. I got the datetimepicker to work properly and the data is being stored in my DB correctly. The only thing I cannot figure out is how to make the datetimepicker not default to today’s date. I need it to be blank if possible to force the user to enter a date. If anybody can help me out with how to do this I would really appreciate it. Thanks It seems the Date-Time picker uses a checkbox for specifying undefined ...Show All

©2008 Software Development Network