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

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

Bsraju

Member List

Martyn775
Salric
GunaChinna
newbieneedshelp
TheQuietShadow
chaza
m.m.b.
Magnus Sthlm
poita
vicky_dceian
marebear12
Andrew Beery
Godai B
ShAdeVampirE
SolarWind
Rachad
J Jakubik
rob warning
AlucardHellSing
Ra Mi
Only Title

Bsraju's Q&A profile

  • Visual C++ Marshal::SizeOf()

    The following generates "illegal use of type as expression," and I don't know why: CHARFORMAT fmt;// = new CHARFORMAT(); fmt.cbSize = Marshal::SizeOf(CHARFORMAT); Surely, since CHARFORMAT is an unmanaged trype it should be a legal parameter Charformat is an unmanaged type defined as follows: struct CHARFORMAT { int cbSize; unsigned int dwMask; unsigned int dwEffects; int yHeight; int yOffset; int crTextcolour; char bCharSet; char bPitchAndFamily; char szFaceName[32]; // CHARFORMAT2 from here onwards. short wWeight; short sSpacing; int crBackcolour; int LCID; unsigned int dwReserved; short sStyle; short wKerning; System::Byte bUnderlineType; System::Byte bAnima ...Show All

  • .NET Development How to view button in brower using asp web form in visual studio 2002

    I created the following webform.aspx: <%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="MyFirstWebApplication.WebForm1" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <HTML> <HEAD> <title>WebForm1</title> <meta name="GENERATOR" Content="Microsoft Visual Studio 7.0"> <meta name="CODE_LANGUAGE" Content="C#"> <meta name="vs_defaultClientScript" content="JavaScript"> <meta name="vs_targetSchema" content="http:// ...Show All

  • Visual C++ VC.Net. Linker Error

    Hello I am getting this error app.obj : error LNK2019: unresolved external symbol "public: __thiscall Array<float>::~Array<float>(void)" ( 1 $Array@M@@QAE@XZ) referenced in function _main app.obj : error LNK2019: unresolved external symbol "public: __thiscall Array<float>::Array<float>(unsigned int,unsigned int)" ( 0 $Array@M@@QAE@II@Z) referenced in function _main my class implementation is undernerh, when i am using whole code in a one cpp file, its works fine, but when i break my class into .h and .cpp and then calling my Array class in the main routine of seperate cpp file, i got the baove liker errors, while compiliation is successfull. So pleaz advice me to fix this issue, i ...Show All

  • Windows Forms Hard to deploy ClickOnce-applications?

    Hi, It seems like it is very hard to deploy ClickOnce-applications in certain scenarios. Maybe I am missing something... Consider the following scenario: You are developing a client-server application with thin (WinForm-based) clients that you want to deploy using ClickOnce. The client-server application is to be sold world-wide to hundreds of independent sites and you want to distribute it using a single installation package that installs the server-components and sets up the client software on the customers web-server so that the clients can be downloaded using ClickOnce (note that the server-side installation is a normal installation package, not ClickOnce, only the clients are to be installed using ClickOnce). Because the ClickOnce dep ...Show All

  • SharePoint Products and Technologies SPItemEventReceiver do not work properly when i use the wss object model API.

    Hi everyone. I got a problem unsolved almost 2 weeks. Please somebody tell me a clue. I customized the SPItemEventReceiver and associated the customized SPItemEventReceiver with a content type was inherited from the Document Library content type and deployed this content type to a server as a Feature. When I uploaded a file from Word 2007, Events associated with the ListItem fired. but on uploading using the Wss Object model ,  events did not fire at all. I have a same experience when I using not only a document library type and SPFileCollection.Add method but also a list type and SPListItemCollection.Add method. I have found the following from the WSS3.0 sdk document. SP ...Show All

  • Visual C# Parametersized property!?

    I am *very* surprised at the fact that C# does not support parameterized property! The only thing I get is the so-called Indexer, but that does not provide the same functionality as parameterized property. For example, I can write the following code in VB: Public Class test Property Name(ByVal key As String) As String Get Return key End Get Set(ByVal value As String) End Set End Property Property Address(ByVal key As String) As String Get Return key End Get Set(ByVal value As String) End Set End Property End Class The two properties both have a String parameter and both return a String object. However, in C# I can only write only *ONE* indexer: public ...Show All

  • Visual Studio 2008 (Pre-release) WCF Stream capabilities and Seek method

    Hello, Does anyone know if the WCF streaming mode is capable to handle Seek method. If, for example, service exposes a method with an input parameter type Stream, and in its body calls Seek method (knowing that the client stream implements that method) on that Stream - will it work the way it should, that is: the Stream will skip a defined number of bytes As far as I know streaming in WCF works in the way that the Stream producer (client) transmits all data that is prebuffered and read by the consumer (service). Am I right Cezary The StreamFormatter does not support Seeking. It doesn't matter what the client Stream capabilities are -- in a distributed system the are completely decoupled -- th ...Show All

  • Visual Studio Can you publish a web application using MSBuild on the command line?

    Hi, I tried doing it like a website: <MSBuild Projects="C:\MyTempWebsite.sln" Targets="Publish" Properties="Configuration=Debug; Platform=AnyCPU; PublishDir=D:\todelete\FINAL\; ApplicationVersion=0.1.0.0; PublisherName=my site; PublishUrl=http://localhost/MyTempWebsite/; InstallUrl=http://localhost/MyTempWebsite/"> <Output ItemName="OutputFiles" TaskParameter="TargetOutputs"/> </MSBuild> But it tells me that its an unpublishable project... Thank you Hi Yoni, Sorry for the late reply but here's my class. Hope you will find it useful. Let me know if you have any questions. Its an MSBuild task:   using System; using ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Video/Animation Playback

    Hi, I'm currently writing a library (for XNA/DirectX) for animation/soundless video playback, and I have a few design questions for the pros out there if you don't mind answering them : I'm having my animation class inherit from game component, and update the frame depending on game time in the overriden Update method, and render it in the overidden Draw method, but even when I preload my textures to render, playback is choppy. Not sure exactly why, but I notice this only when I have significant number of frames (I noticed it with 100 frames, but *not* with 10/15). This problem may be linked and solved by the 2nd point, so please read on. When I preload all the textures for the frames in the animation (and the no. of frames ...Show All

  • SQL Server Deploying with a single path pointing to all files

    I'm having major issues deploying my SSIS script for updating our database. I've been updating the remote db from visual studio (files on local system with oledb connection to sql server where changes (schema and data are being made) and never really tested deployment. Everytime I try following their example the local settings and paths are copied into the remote server's settings. I tried using one folder to store everthing and setting the path as ".\" but it appends "C:\Documents and Settings..." to it. I have a lot of sql scripts and 7 packages. Please provide a link to a relevant article or leave a suggestion if you know how to do this in a simple way (use a dts variable to set the path on the remote server for the ...Show All

  • Visual C++ HELP:working with OID_802_11_RSSI

    i am working with windows xp, ndis5.1, visual c++. i want to ask about the object identifier OID_802_11_RSSI. i read its documentation in msdn. i test it in one of my applications. i know that it returns the signal strength . but how could i know to which ap this measured rssi belongs if i have a dedicated ap that i want to measure its rssi ,can i do this using this oid how i noted that the this OID readings differs from the rssi readings of OID_802_11_BSSID_LIST. Why also when i test this OID in a compaq laptob with Intel(R) PRO/Wireless 3945ABG card it does not return rssi values .Why need help. thank you in advance. A better place for such issues is the newsgroups at http://msdn.m ...Show All

  • Visual FoxPro VFP menu bar problem

    i have problem with VFP menu when i call my menu to work in VFP IDE and i write set sysmenu to rtljustify i have the required result but when i call the menu to work in top level form do mymenu.mpr with thisform, .t. and i write , set sysmenu to rtljustify i don't have the required result any soultion for this problem Greetings, ...Show All

  • .NET Development Deserialize - Index was outside the bounds of the array.

    hello I'm using xml serialization with AES CryptoStream to presist state of object which stores bank account transactions... using (FileStream fs = File.Create("xxx.file")) { using (CryptoStream cStream = new CryptoStream(fs, AppSettings.Encryptor,CryptoStreamMode.Write)) { using (XmlTextWriter xtw = new XmlTextWriter(new StreamWriter(cStream))) { s.Serialize(xtw, this); cStream.FlushFinalBlock(); } } } ...sometimes users reports to me that they get "Index was outside the bounds of the array." exception which is thrown at at System.Security.Cryptography.RijndaelManagedTransform.DecryptData( ...Show All

  • Visual Basic Q: Persistent Graphics on Form or PicBox: a real pain!!!

    Hi all, this is kind of a follow up on 2 earlier threads I started. This time the question is a bit more fundamental. It concerns replacement of the persistent graphic methods in VB6 with the Picbox_paint persistent graphics in VB.net. Whatever I try, and whatever help I ask I simply cannot perform the following task: (heavily simplified) I have a VB6 program that reads inputvalues (X and Y) from an A/D convertor. It continuously reads values at ~5 per second and plots them as vectors. Aim is to visualize outliers and get a quick view of grouping of the outliers. I definitely need to implement exacly this functionality in VB.net. After a number of days, millions or even billions of vectors are drawn, with only a few outliers. ...Show All

  • Community Chat Microsoft and its 'new' Halo: Wars RTS Game, and Derelict Studios

    Well, as most have probably heard, Microsoft has come out with a 'new' Real Time Strategy game called Halo: Wars, a game to be made for the X-Box 360. I quote 'new', because it is not a new idea, nor shall all the credit go to those people who work in Microsoft. A Modification for the game C&C Generals, called Halogen, was a mod in the works for approximatly 3 years, where people from the community pitched in numerous hours of work and labour for the good of the  community, and a playable release was soon to come for those of us desperate to download it. Microsoft came in close to before the release and forced the memebers of Derelict Studios to close down Halogen and halt all progress on the game, and close down the ...Show All

©2008 Software Development Network