Software Development Network Logo
  • Microsoft ISV
  • Architecture
  • Visual C++
  • .NET Development
  • Visual FoxPro
  • SQL Server
  • VS Team System
  • Visual C#
  • Windows Vista
  • Windows Live
  • Visual J#
  • Windows Forms
  • Visual Basic
  • Smart Device
  • VS Express Editions

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

ansaria

Member List

Grantm05
Sunil Agarwal
Winman
AngryRichard MSFT
Pepe Ballaga
Henry N
marvo
BostonMerlin
wyrzy
tempicek
DJSydney
GTrz
vijay99
batub
Aussie_Bluey
Nissim L
CobyFernandess
bicodeR
basilgreatmouse
buckeye72
Only Title

ansaria's Q&A profile

  • .NET Development Listbox Selection Event

    I need to populate a dropdown listbox named "sub category" once the user the clicks his desired selection in the dropdown listbox named "category" e.g. clothing has subcategories like gent's clothes and ladies clothes. I need to know which event i have to use  Im not sure in what event i have to put my code in exactly.Please help. use codebehind private void ComboName_SelectedIndexChanged( object sender, System.EventArgs e) {    Response.Write("I am here");  } THis will help.. ...Show All

  • SQL Server How can we trust Outer Joins

    In the future =* or *= will not be suportted but I found more then one examples that show outer join does not bring all the rows =* does. Can any one tell me what is wrong Market table has 19 markets Budget table has rows for BudgetYear=2006 but none for 2007 BTW the same is true in SQL2005 and 2000 ---------------------------------------------------------------- SELECT Market_code, Description, Revenue = SUM( CASE WHEN BudgetType = 'B' THEN BudgetAmount ELSE 0 END ), CM = SUM( CASE WHEN BudgetType = 'C' THEN BudgetAmount ELSE 0 END ), Tooling = SUM( CASE WHEN BudgetType = 'T' THEN BudgetAmount ELSE 0 END ) FROM Budget RIGHT OUT ...Show All

  • Visual Basic Problem VB6 to VB 2005 conversion

    I used to do this with VB6. Type Record STat As String * 4 PkID As Integer SID As Integer SName As String * 35 Msg As String * 100 End Type Dim Rec As Record Rec.SID = Val(lblTo.Tag) Rec.STat = "M" Rec.SName = lblTo.Caption Open filename & ".log" For Random Shared As #1 Len = Len(Rec) Dim Pos% Put #1, getPos(1, "M"), Rec Close #1 I searched a lot and am unsuccessful. I don't know exactly what to do for doing above task. I will be very greatful if anybody can help in this regard. Thanks. Try defining the structure using the vbfixedstring attribute as in the following ...Show All

  • Visual Studio Express Editions VB express

    Can I ccreate ASP pages and smart device applications using VB Express You use Visual Web Developer for ASP.NET apps.  CF apps I'm not sure, but I bet MSDN could tell you. ...Show All

  • Windows Forms Bringing controls out from design-time

    I'm using standard DesignSurface for control design in my custom editor and I'm trying to serialize designed controls with my custom serializator that simply recursively parses the root component and emits custom serialization data for each and every component. The problem is that some components contain objects that were created by their designers. For example, the MenuStrip in its Items collection has a DesignerToolStripMenuHost object that is used for designing menu items. My serialization process cannot generically differentiate these design-time objects from real ones. The solution could be to remove the components from design-t ...Show All

  • Visual C++ run time errors!

    Why am I getting these errers at run time ////////////////////////// Debug Assertion Failed! File: dbgdel.cpp . . Expressiong: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) ////////////////////////// Debug Assertion Failed! File: dbgheap.c . . Expressiong: _CrtIsValidHeapPointer(pUserData) ///////////////////////////// Debug Assertion Failed! File: dbgheap.c . . Expressiong: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) Is there something wrong with this code (I compiled the same code using GCC for win32 with no run time error). class cString{       char *cData;       unsigned int c ...Show All

  • Visual Studio 2008 (Pre-release) DirectShow and video capture in Avalon?

    Should I still use directshow to create a video capture application in Avalon If yes, where can I find the reference. If no, what should be the new alternative Thank you. I am also interested in this. I am trying to implement a webcam preview class that is similar in functionality with the MediaElement. I have asked this many places, and didn't get much feedback. MS employees are too quiet about his, and I wonder why Anyway, I am still waiting for feedback, though I don't have much time left... ...Show All

  • SQL Server how to free the memory occupied by "blob" in MS sql server

    i'm working in microsoft sql server and i got following problem: I have a text files Asia.txt in E:\ folder with some data in it as shown below Asia.txt 1, Mizuho, Fukushima, Tokyo 2, Minika, Pang, Taipei 3, Jen, Ambelang, India 4, Jiang, Hong, Shangai 5, Ada, Koo, HongKong And I have a table Region, in the database Companies , as shown below. 1>CREATE TABLE REGION (ID INT,REGION VARCHAR(25),DATA varbinary(MAX)) 2>GO I queried all the data from Asia.txt, using the OPENROWSET function. 1>INSERT INTO REGION (ID, REGION, DATA) 2>SELECT 1 AS ID, 'ASIA' AS REGION, 3> * FROM OPENROWSET( BULK 'E:\Asia.txt',SI ...Show All

  • Visual C++ build error

    after downloading VC beta 2 and spending hours trying to get the header files to be recognized and figuring out how to build a hello world file, i decided to move on to chapter 1 of tricks of the windows game programming gurus and run the sample game called freakout, i recieve this error 1>------ Build started: Project: freak1, Configuration: Debug Win32 ------ 1>Compiling... 1>blackbox.cpp 1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64' 1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error ...Show All

  • Visual C# Help with Splash Screen

    I am following a tutorial that show how to display a splash screen before my windows app loads. Here is the code so far: InitializeComponent(); //thread for splash screen Thread th = new Thread(new ThreadStart(DoSplash)); th.Start(); Thread.Sleep(3000); th.Abort(); Thread.Sleep(1000); Splash spl = new Splash(); spl.ShowDialog(); Bitmap b = new Bitmap(this.BackgroundImage); b.MakeTransparent(b.GetPixel(1,1)); this.BackgroundImage = b; --------------------------------------------------------- Splash being the form that I want displayed as the splash screen. The proble ...Show All

  • SQL Server AdventureWorks db for 101 Samples

    I'm not sure if this should be asked here.  If it's the wrong place, let me know and I'll correct. I've just downloaded 101 Samples for Visual Studio 2005 .  But the data access samples require AdventureWorks database which is not included in the C# sample.  Who know where I can get this database   It is a SQL 2005 database, I think. Thanks! gaile- Thanks for your quick response. Specifically, from CreatingMasterDetails sample: SELECT EmployeeID, NationalIDNumber, ContactID, LoginID, DepartmentID, ManagerID, ShiftID, Title, EmergencyContactID, AddressID, BirthDate, MaritalStatus, Gender, HireDate, Salaried ...Show All

  • SQL Server SQL Reporting Services - HTTP Error 403 - Forbidden When Viewing a Report

    I have created a report using Visual Studio 2003 and deployed it to the Reporting Services site. Then in my browser I can see the new folder, and then the report. When I click on the report I get the following error: You are not authorized to view this page You might not have permission to view this directory or page using the credentials you supplied. Are you accessing the ReportServer or Reports site If it is the reports site, try the reportserver site and see if you can view the report there. Also, are you using RS 2000 or 2005 ...Show All

  • SQL Server Code Access Security across multiple assembly security extension

    Hello there I have trying to figure out for days how to enable FullTrust for my Reporting Services security extension. I can successfully run the sample, but my implementation which splits the data and verification logic across two dlls fails each time it reaches the data layer. Simply and succinctly as I can write it my security extension consists of the following. Business.dll This dll is configured in RSReportServer.config, again as per the Microsoft sample. This dll is also configured in rssvrpolicy.config, I have used UrlMembershipCondition and StrongNameMemberCondition successfully. This is called successfully by Reporting Service ...Show All

  • Visual Basic Convert Bitmap to true monochrome

    I'm trying to convert a colored bitmap to a true 8 bit monochrome bitmap. I've been able to loop through each pixel and if the pixel is white leave it white, if it isn't then change it to black. But this method does not acutally convert it to an 8 bit bitmap and it takes a very long time. Is there a way to convert a bitmap in this manner Thanks for any help. I think this example on Bob Powell's website will help ...Show All

  • Visual Studio Express Editions Error: undeclared identifier

    Hi. I'am developing a solution called LIB with 2 projects inside: (i) SIG (ii) PROCSIG I've writen a class called Signal inside SIG. The SIG project wich has the following files: - Signal.h, Signal.cpp, TestSignal.cpp The second project in the LIB solution must use the already developed and tested class Signal. So i have included in PROCSIG the following files: - Signal.h, Signal.cpp; - Stat.h, Stat.cpp, TestStat.cpp As you can see, i'm using each project in the solution to write and test classes individually. After this i include them in a second project that uses them. The problem is, in the TestStat.cpp file ...Show All

©2008 Software Development Network