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

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

Pushpa

Member List

Val Savvateev
naguaramipana
João Santa Bárbara
igorbaITALY
黃泓量 Jeremy Wong
AFM
Mason Chang
nevermore
Jan Kučera
NVITGuy
nitesh252002
volleynerd
RobinSpicer
pardgr8
Macrap
&#169&#59; Ţĩмό Şąļσмāĸ
Ninerh
bluesky168
Matt Falzon
The Emerald Knight
Only Title

Pushpa's Q&A profile

  • Windows Forms VB to .net conversion, error in execution

    I have converted visual Basic 6. Project to Vb.net Project, by opening the same project into Vb.net Environment. It converts the project to .net project, but displayed a list of errors (the features not supported by .net). I manually corrected all these errors. After that when I run this project, it opens the MDIform1.Designer.vb window, And in the following part: <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> Partial Class MDIForm1 //Error in this part #Region "Windows Form Designer generated code " <System.Diagnostics.DebuggerNonUserCode()> Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponen ...Show All

  • Visual C++ Problem with Active-x Control...

    Hi All, I am having this acgivex control which scans cards and stuffs like that, the initial problem was that the active-x control shipped with the product had a 3-4 seconds pause after scanning and populating the values onto my HTML controls. So we created a new active-x control using the shipped libraries and showed a splash screen during the pause. The whole stuff works fine when i run the project, but when i created the cab files and ran my web page, the splash screen comes up and just sits there, its not, I cant understand what the real problem is. Please help. I am attaching a piece of the code below; retVal = IdData.ProcState("", stateId) ShowSplashScreen Select Case retVal Case ID_TRUE ...Show All

  • SQL Server TOP 5 returning 10 ???? :(

    Okay here is my delema.. I have a embedded chart in a table that returns that is set up to return the top 5 of it's sub-children... got me So if i look at info of the datas' children i see Parent Data Infoasd Count Pdataasd,asd,as,d 123 134 Get these top 5 for chart -----------> Child Data Count Infower 56 Infower 43 Infower 23 Infosadew 2 Infoasd 2 Infoasdui 2 Infoasda 2 Infodasdas 2 Infoqweqw 2 Now as you can see at row 4 on the child data the count is 2 and then 2 and then ...Show All

  • Smart Device Development Need help compiling Today Screen Native Code plug-in

    I installed eMbedded Visual C++ 4.0 (SP3) and downloaded the samples as listed here http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/TodayScrn.asp i've been trying to follow the steps in the article but I can't get the unamanaged code to compile, I installed the Pocket PC 2003 SDK and referenced the directories for the inclulde and lib files but I get these errors Compiling... StdAfx.cpp TodayScreenDataMgr.cpp Linking... Creating library X86Rel/TodayScreenDataMgr.lib and object X86Rel/TodayScreenDataMgr.exp LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup TodayScreenDataMgr.obj : error LNK2019: unresolved external symbol _MapViewOfFile referenced in function _TodayScreenDataMgr_Open ...Show All

  • SQL Server Trouble adding new logon to sql 2005

    I created a local group on our sql 2005 x64 server and added domain users to it. I want to assign members of that group permission to acces a database. When I try to add a login for this group I get the error message "The Default Schema clause cannot be used with a Windows group or with principals mapped to certificate or asymmetric keys.." OK, what did I do wrong (Am I not supposed to use a Default Schema with a group Why not ) TIA, barkingdog ...Show All

  • Visual C# MAKELONG equivalent in c#

    Is there a way to combine to short values into one long value in C#, similar to the way that the C++ MAKELONG macro does Yes, using the same shift and bitwise or operations used in the C macro. Here is a sample implementation: public int MakeLong ( short lowPart, short highPart) { return ( int )((( ushort )lowPart) | ( uint )(highPart << 16)); } ...Show All

  • Software Development for Windows Vista Activity Queues in Parallel

    I have a custom activity that sets up and uses activity queues I want to place two or more instances of this custom activity on a work flow in parallel to each other I have my host using logic to decide what queue to send to but the work flow waits untill i send something to all the queues on the parallel activity I want the work flow to continue executing after only one of the activitie's queue was written to in a manner similar to using handleexternalevent activity on a listen activity my system is deciding at run time what "logical port" to send the data to on the workflow and the others should be ignored. Sort of like biztalk's input ports that are bound to receivers outside of the orchestration Any ideas ...Show All

  • .NET Development populate drop dwon boxes from xml file

    Hi I have tried numourous different ways to populate some drop down boxes with an xml file using vb.net. I have this is the page load: (ds is a dataset) If Not IsPostBack Then ds.ReadXml("C:\sub.xml") drp_lang.DataSource = ds drp_lang.DataTextField = "text" drp_lang.DataValueField = "value" drp_lang.DataBind() and the xml file is: < xml version="1.0" encoding="ISO-8859-1" > <countries> <country> <text>Norway</text> <value>N</value> </country> </countries> I've used ds.getSchema to verify the xml is being read correctly but whilst there are no errors the drop down remains unpopulated. Can anyone suggest ...Show All

  • .NET Development Executing a query against Access and Excel

    Hi, there I wrote a program that reads data from both Excel and Access. But I don't know how to submit a query to both of them. Connection to Excel is made through OleDb in code, and Access connection is made through Database Explorer, in design time. The question is: how can I make reference to these sources Thanks, Flavia Hi, Ok, sorry for the misunderstanding. You meant to have a query statement that uses two different data sources (connections). Sad to say but this is not possible. A more logical way is to manually query your excel table and loop through it and query your access table and store the querried result in a datatable.. cheers, Paul June A. Domag ...Show All

  • Visual C# How to find / locate a control on a form?

    Hi, I have a configuration file, which specifies which controls should be disabled based on certain criteria. The only way I know of getting a refernce to the control in the form is to recursively go through every control. Unfortunately, this is not a viable solution for me. Does anybody know if there is another way to access the control I need based on its Name property, or any other property Any outside of the box solutions are welcome. Thanks a lot. Lidiya As you stated, iteration through all controls is not an option. Perhaps you may find the Controls.Find method useful For example: this.Controls.Find("textBox6", true) ...Show All

  • Visual C++ how to link undefined data types of VC# dll in VC++

    Hi, I have created a VC# dll using Visual Studio 2005, and I am using it in VC++ project(again created in Visual Studio 2005). For using this dll I simply add #using <mscorlib.dll> to the stdafx.h file and then I enabled the /clr option in the project properties. Now when I add my dll to the VC++ project as ... using "mcMath.dll" I get the following errors at the specified location of dll declaration... Error 1 error C2059: syntax error : 'string' d And these errors where my main function starts... Error 2 error C2143: syntax error : missing ';' before '{' Error 3 error C2447: '{' : missing function header (old-style formal list ) .... I do not have any function or exported values as strin ...Show All

  • Windows Forms My custom control not show up in toolbox

    Hi, I got this problem, I creat some custom controls inherited from listbox/combobox. when I code done, a new item appear in <My Project> Components of toolbox. Then I copy all code to another project, add them to project by Add Existing Item, but I can not see those custom control in my toolbox, neither the tab which name should be '<My New Project> Components'. is there something wrong how to fix it I really appreciate your help. Thank you very much. Wes Hi wesbrid: I found that after I create some user control in vs2005, suppose my project called windowsApplication1, in the toolbox have a tab call windowsApplication1 components, that is where we can find our controls, all ...Show All

  • Visual Studio Tools for Office seprating location of vsto excel sheet and dll's in windos installer

    Hi, i have created a vsto excel application that installs in the program file in the set security project i keep default values /assemblyName="ccccccccccc.dll" /targetDir="[TARGETDIR]\" /solutionCodeGroupName="MyCompanyName.ccccccccc" /solutionCodeGroupDescription="Code group for cccccccccccc" /assemblyCodeGroupName="cccccccccccc" /assemblyCodeGroupDescription="Code group for ccccccccc" /allUsers=[ALLUSERS] how can i seprate the excel sheet and other dll's i wish to install excel sheet on the desktop and dll's as it is if u have the ans plz reply it is urgent Thank's varun I'm not sure this answers t ...Show All

  • Visual C# not updating from DataSet to DB....

    hai, I was trying to add a record to a DataSet and then updating the DataSet thru DataAdapter, but I constantly get the error as Additional information: Update requires a valid InsertCommand when passed DataRow collection with new rows. I had attached the code here, anyone pls could you solve this...Is my program logic correct or else give me a sample code.... thanx..... using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Data.OleDb; namespace CmbBox { public class Form2 : System.Windows.Forms.Form { private System.Windows.Forms.Button button1; private System.ComponentModel.Container components = null; public Form2() { Ini ...Show All

  • Windows Forms How to get selected text from the editbox which is the part of the combobox?

    Hi, I've got a windows form with the combobox (its DropDownStyle = DropDown). Because of certain needs, I need to get selected text from the editbox of that combobox but I'm failing. I do following C++ code (there are two different ways coded... neither first nor second does not work :-( ): { COMBOBOXINFO str; int result; memset (&str, 0, sizeof(COMBOBOXINFO)); str.cbSize = sizeof(COMBOBOXINFO); // way 1 result = (int)::SendMessage((HWND)comboBox1->Handle.ToPointer(), CB_GETCOMBOBOXINFO,0,(LPARAM)(&str)); /* do not work - returns 0, instead of start and end positions of the selected text */ result = (int)::SendMessage((HWND)str.hwndItem, EM_GETSEL,0,0); // way 2 /* do not work as well - returns 0, ...Show All

©2008 Software Development Network