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

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

akin_l

Member List

InfoDemers
Rory Cahill
MF Newbie
rimysoft
audioslave
polymorphicx
shades921
Laxmikant_it
SQLBOY36
Mike Greenway
Yustme
Maxx Delusional
PJFINTRAX
maulikk
fleo
kabucek
RG1234
Joel Marcey
lagu2653
swalker
Only Title

akin_l's Q&A profile

  • Visual C# Passing two paramaters

    I have an app that I am trying to build using the BackgroundWorker Component, and I am having a little bit of trouble figuring out how to pass multiple paramaters back with ReportProgress. Below you can see the two small code snippets. Any help would be greatly appreciated. Thanks, Russ ////////////////////////////////////////////////////////////////////////////////////////////////////// (sender as BackgroundWorker ).ReportProgress(currentCount, totalCount); ////////////////////////////////////////////////////////////////////////////////////////////////////// void backgroundWorker_ProgressChanged( object sender, ProgressChangedEventArgs e) { progressBar1.Value = (e.ProgressPercentage); progressBar1.Maximum = ...Show All

  • Visual Basic Sample code calling crystal report 10

    i have my report done in crystal report version 10.. can you please give me sample code calling this in vb6 my report has parameter thanks Private Sub Form_Load() Set CrxReport = crxApplication.OpenReport("e:\client.rpt") CrxReport.ParameterFields.GetItemByName("client").AddCurrentValue "A138" Me.CrystalActiveXReportViewer1.ReportSource = CrxReport Me.CrystalActiveXReportViewer1.ViewReport Me.CrystalActiveXReportViewer1.DisplayGroupTree = False Me.CrystalActiveXReportViewer1.Zoom 100 Me.WindowState = vbMaximized End Sub we have 5 database with the same table how can change database when opening this report thanks ...Show All

  • Visual Studio Not able to compile the C# code in VS2005 with crystal report included in the project.

    Hello, I create a new project and add a new item to it which is a crystal report. Then when I compile , I get the following error without adding a single word of code: Error 1 Assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' uses 'CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' which has a higher version than referenced assembly 'CrystalDecisions.Enterprise.InfoStore, Version=9.2.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' c:\Program Files\Common Files\Business Objects\2.7\Managed\CrystalDecisions.CrystalReports.Engine.dll WindowsApplication2 Warning 2 Reference to type 'CrystalDecisio ...Show All

  • .NET Development c# code for Scanning Active Directory for Inactive Computers

    I need to delete the inactive accounts in active directory. If anybody having knowledege on this please send me details. ArrayList inactiveComputers=new ArrayList(); DirectoryEntry entry = new DirectoryEntry(//Provide LDAPPath,username,password); DirectorySearcher mysearcher = new DirectorySearcher(entry); long timeStamp = DateTime.Now.Subtract(TimeSpan.FromDays(noOfDays)).ToFileTime(); mysearcher.Filter = "(&(objectClass=computer)(lastLogon<=" + timeStamp + "))"; foreach (SearchResult result in mysearcher.FindAll()) { inactiveComputers.Add(result.GetDirectoryEntry().Name); } ...Show All

  • SQL Server Easy Reporting

    Hello, I am searching for a reporting tool in which I can graphically and easily report on the cubes built using SQL Server Analysis Services. I don't want build complex reports using SSRS, but instead use something like MS Office Data Analyzer. The version of Data Analyzer I have goes back to 2001. I am able to view reports based on SQL 2005 SSAS but was wondering if there is a new version of this product or perhaps a totally new product that does the same job and is as easy. Many Thanks, Grace Hi Grace You may also like to try RSinteract from ICS ( www.rsinteract.com ). RSinteract allows unskilled individuals to build interactive Reporting Services Reports via an intuitive zero footpriint br ...Show All

  • Visual Studio Cannot Edit a Macro: "Class Not Registered"

    Hi; I'm trying to edit a macro that I've recorded in VS 2005. I have been able to edit macros before, but not now (for some reason unknown to me). I've fixed this problem before by performing a repair reinstall, but I want to know what is at the root of this problem, as repair reinstalls tend to take up a lot of time. In Macro Explorer, I right-click on TemporaryMacro, click on "Rename" - and I renamed it to Macro01 - OK - no prob. I then right-click on the macro, click on "Edit" - and nothing happens. I also did the following: Tools > Macros > Macro IDE ... ... and I get a message box, with the error message "Class Not Registered." The following registry keys are set as follows: -=-=-=-=-=-=-=-=-=-=-= ...Show All

  • Visual Studio Express Editions remove all but numbers

    This is the sort of data that i have; chris - 0400423068 tom - 0400987389 Heidi - 0412139864 and what i want to do is remove all but the numbers. dont worry i got it my self. Dim extract As String Dim start, finish As Integer extract = nameslist.SelectedItem MsgBox(extract) extract = extract.Replace( "-" , ">" ) MsgBox(extract) extract = extract + "<" MsgBox(extract) start = extract.IndexOf( ">" , 1) + 1 finish = extract.IndexOf( "<" , start) extract = extract.Substring(start, finish - start) MsgBox(extract) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SpaceWar with a PC controller?

    Hello, I was experimenting the SpaceWar application, but it seems to expect a xbox360 controller instead of a broad PC controller since... well, I'm running it on a PC. Do you know anything about that I should be able to use it. I have a team that wants to use XNA for the PC platform - we could hardly care about the xbox360 at the moment. Forcing our players to have a xbox360 controller when they already have a fully capable controller does not make any sense. Did XNA leave out DirectInput or something I'd hate to drop back into MDX just because of this necessity. If MS has no answer for this, may I suggest that DirectInput should be included in XNA when the program detects its running on a PC Average Joe may not want to play the game ...Show All

  • Visual Basic Combo box (again)

    Hi guys I am having a few problems with combo boxes, i have inherited a combo box to add some more features, i also provide a data view as the datasource, this side is working well. I have the dropdown style to dropdown and the autocomplete mode to suggest append. If the box has focus and i hold alt + arrow down then the list displayes. If i type for example 'a' whilst the list is dropped down a further list is displyed with my selection, if i highlight my choice and then press enter then the box is empty. If i use tab then my selection is displayed. is this correct or am i doing something wrong here i have experimented with different autocomplete modes. Regards Steve My apologies Spotty, thank y ...Show All

  • SQL Server VARCHAR(MAX), NVARCHAR(MAX) and VARBINARY(MAX) support

    On the ntext, text, and image (Transact-SQL) page at http://msdn2.microsoft.com/en-us/library/ms187993.aspx it states " Important: ntext, text, and image data types will be removed in a future version of Microsoft SQL Server. Avoid using these data types in new development work, and plan to modify applications that currently use them. Use nvarchar(max), varchar(max), and varbinary(max) instead. For more information, see Using Large-Value Data Types." Considering this warning, is VARCHAR(MAX), NVARCHAR(MAX) and VARBINARY(MAX) support going to be implemented in SQL Server Compact Edition Robert Wishlaw We are entirely different architecture from SQL Server hence SQL Server reco ...Show All

  • Windows Forms Populate a tree view in c#

    Hi Guys! I have an number of objects, that contain a "name", and a "level" which was used to indicate the location of the "name" in a treeView in a C++ application. The datastructure of the objects has to stay the same, but now in C# land i am really having problems to populate the treeView. I could not find any method to get a parent TreeNodeCollection, when i am sitting somewhere down in a "sub" TreeNodeCollection (yes i loved my pointers :). Also writing a recursive function failed as (ref TreeNodeCollection xxx) is something the compiler doesn't like at all, as it's implemented as a property. So the big question is now: How do i get a structure like this: Name1, Level0 Name2, Level ...Show All

  • SQL Server SQL Mobile 2005 Replication - SQL Mobile DLL could not be loaded - Error 28559

    I am migrating a pocket PC application from VS 2003 to VS 2005 and a few weeks ago I hit the following problem when replicating A SQL Mobile DLL could not be loaded. Reinstall SQL Mobile. [ DLL Name=sqlceca30.dll] Scanning forums for help I saw that other people had had this problem and one http://www.eggheadcafe.com/aspnet_answers/NETFrameworkCompactFramework/Feb2006/post25814466.asp suggested that this problem could be circumvented by getting the replication object early and then continuously using the same object for subsequent replications. I did this and it works a lot better now but ever so often I get another error which is Native Error 28559 SQL Mobile encountered problems when opening the database My only opti ...Show All

  • .NET Development .NET Remoting issue with COM client

    Hi everyone: This is a fairly complicated issue, so please bear with me while I try to give just the right amount of detail. The issue is similar (same ) as to what is described here: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=168383&SiteID=1 I have a VB 6 client that is calling into a .NET 2.0 DLL. The .NET 2.0 DLL is calling a remote server and can do so using several protocols/formats, including SOAP over HTTP and binary TCP. When starting the VB 6 client and calling the remote server over HTTP/SOAP, everything works fine. However, when the VB 6 client is just started and attempts to connect to the Binary TCP .NET remoting service, it fails, with this error: System.InvalidCastException: Return argument has an ...Show All

  • SQL Server Help With filtering

    I have a table with the following columns ID, Dealershiplocation, VehicalMake, VColor, Vtype and VYear. 1, London, Buick, Red, sedan, 2001 ------ 20, Windsor, Ford, Blue, pickup, 2004 My question is how do I write a query so I can filter from all dealership location a specific vehical like Ford with a red color and Sedan type Please help. Thanks Juvan hi Juvan, your model is not that normalized, but... you can define your filter wtih a set of consecutive AND that must be all satisfied like SET NOCOUNT ON; USE tempdb; GO CREATE TABLE dbo.Test( Id int NOT NULL, Dealershiplocation varchar(20) NOT NULL, VehicalMake varchar(20) NOT NULL, VColor varchar(20) NOT N ...Show All

  • Visual Studio Express Editions message box show without stopping program

    In a console application. Is there a way to display a message box that does not stop the execution of the program Use ShowDialog instead of show...this will keep the form open until you decide to close it... "relevant message" are you setting that in the designer You are not using McAfee Version 8 ...Show All

©2008 Software Development Network