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

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

Alba

Member List

Ruurd Boeke
cubexsystems
gon_no1
Jeff Weber
boston123
HowardP
dagfari
z-one
MattiasAron
abhas
DaPosh
Peter Deak
Steve Harding
robhare
ZopoStyle
Phil Gould
donkaiser
Jehan Badshah
SuzanneWeiss
Amadrias
Only Title

Alba's Q&A profile

  • Visual C# How to convert Parameterized Delegate from C# to VB.Net?

    Hi I want to convert this code segment to VB.Net but none of the converters worked. using System; using System.Windows.Forms; using System.Threading; using System.Reflection; private static Thread m_SplashThread = null;  private static Form m_SplashForm = null; Dim splashFormType as Form ' actually splashFormType is refrence to form already added to application  m_SplashThread = new Thread(new ThreadStart(delegate(){createForm(splashFormType); Application.Run(m_SplashForm);})); Private static voic createForm() { 1 Create a new instance of form 2 set properties 3 assign new instance to form m_SplashForm } How it can be converted any way Please comments Thanks  Hi David ...Show All

  • SQL Server Restoring database from MS SQL 2000 to SQL Express 2005

    Hello, I tried to restore a database which I backuped from MS SQL 2000 to SQL Express 2005 but it always failed with the following error message. What could be the problem Restore failed for Server 'SERV\SQLEXPRESS'. (Microsoft.SqlServer.Express.Smo) Additional information System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing 'gtp' database. (Microsoft.SqlServer.Express.Smo) Thanks hi, Kira_26 wrote: hi, i still encounter the same problem after i have followed all your suggestions and help. Do I need to create a blank database in sql 2005 express edition prior to backing up Thanks a lot ...Show All

  • SQL Server Using report history/subscriptions

    Can a parameter driver report be scheduled so that such reports are saved in IF formats for future use I want to have a data-driven report executed every month. This will generate one report per customer. I then want to be able to go back in time for a certain customer number and render the report that was generated at that point in time. Assuming above is at att doable: How do I keep track of the old reports Parameter values and timestamp Can I enumerate the old reports and present them to a user It is a legal requirement to archive such reports over a long time period. How do I handle this Are the old report in ReportServer or ReportServerTempDb Or both Can I export these IF format reports and import them back into the da ...Show All

  • Visual Basic Multiple Answers

    i have a quiz dealing with countries and their capital cities, in a multpile choice quiz format. i have the right answer coming up fine, and i can fill the other options with the wrong answers. In some cases the choices text comes up in more than one box say, a = london, b = paris, c = berlin and d = paris. Go to the next question and it's fine for a while and then does the same thing again. How can i resolve this problem Once More Thanks from Zeldacat The problem is that each time you load a wrong answer you're picking from the same batch of answers and this batch contains both the wrong answers you've already picked and, I'd assume, the correct answer as well. You'll need to eli ...Show All

  • Visual C# Visual C# generating dataset from schema?

    <<turning this into a comment:  I now understand that the dataset generates a schema from the table descriptions.  I still don't know the answer to the questions below but will leave them be -allen>> ... I added an XML Schema to the project and populated it.  The doc I found said that with the schema editor open, the schema-menu would have a "Generate Dataset" pick to generate one from the schema Q1: Mine doesn't...or at least I can't find it anywhere. Q2: If I add a dataset to the project, an XSD file shows up, but I can't seem to get to the schema editor from it...I just get the dataset editor.  So I still cant get my schema into the dataset! Q3: Can I access my Schema programmatically, ...Show All

  • Visual Studio 2008 (Pre-release) Problem with MediaElement

    Hi, I am having WinFX June CTP installed in my system, as well i have two operating systems (Windows XP SP2, and Windows Vista Beta 2), at both of the OS i have installed the June cTP. Now the problems that i am facing are MediaElement tags don't play video, or audio, even if it's fairly simple code, which was running with my Feb CTP. The same code, if i compile and run in Vista Side, would show me the Media. The XAMLPAD doesn't work in my Vista OS, but i m being able to compile my code, run it, and even use the orcas, but back again my orcas is not letting me design... Regards Brij Hi, I am using Media Player 11, in my system, i was having march CTP before this, and it was ...Show All

  • SQL Server Hidden Cascading parameters error with postback/refresh?

    Hi I have a report with a few cascading parameters. In my code I pass the value of the parameter to the report and set the flag to hide the parameter to true (isAdministrator). ReportParameter dataEntity = new ReportParameter ( "DataEntity" , "1", !isAdministrator); Report.SetParameters( new ReportParameter [] { dataEntity } ); This works fine but as soon as I change any of the parameters the control viewer refreshes and loses my default value of the hidden parameter and sets it to the default I have set on the report when I designed it. If I do not hide the "DataEntity" parameter the refresh works fine. I need to hide this parameter or disable it so that the user ...Show All

  • Windows Forms different fore- or background - colors in a datagridview cell

    Hello, i have a databound datagridview; in each datagridview-cell there are 1 to 5 Items (all only text) which I want to view in different fore- ore background colors, user defined. Is there any possibility to format something like a HTML-table to be displayed in a datagridview-cell Do any solutions for "cells in a datagridview-cell" exist thanks a lot, Markus private void dataGridView1_CellPainting(object sender, DataGridViewCellPaintingEventArgs e) { if (e.ColumnIndex != 0 && e.RowIndex>=0) return; try { Char c = ' '; String[] strVal = e.Value.ToString().Split(c); int x = e.CellBounds.Left; int y = ...Show All

  • .NET Development Copying files over a network - best way?

    Okay, here goes... Machine A and Machine B are on the same LAN. There's a file, or more a series of files, in different formats on Machine A. On Machine B there is a Card Reader or USB type storage area. On Machine B, there is a .NET Application, not sure yet if it's going to be a smart or thin client. The job of the .NET App is to copy a file from Machine A to Machine B. Also, it would be nice if it showed a progress bar of the file coming across. I'm relatively new to .NET - any tips or ideas on the best way to go about doing something like this Mods - not sure if this is the correct area to post this thread in - please move if necessary If folders from which the files have to be co ...Show All

  • Software Development for Windows Vista TIP Txn resolution (*ONLY* failed to notify)

    Hi, It appears that DTC is not fulfilling its end of the bargain when it acts as coordinator in a distributed TIP transaction. I deliberately killed my Transaction Manager after it had successfully returned a PREPARED response to the DTC. I then pulled the plug (literally) on the network connection. After bringing my TM back up, it began waiting t3$tip_unresolved_search_detent seconds between attempts to obtain the outcome of the txn from DTC. I then restored the network connection, and to my astonishment, DTC just sat there content that my loyal Resource Managers (Rdb) were enforcing the ACID properties of a true 2PC and locking all affected rows. After some many minutes of inaction, a net stop/start msdtc was able to force a com ...Show All

  • SQL Server Is this SSAS bug fixed in SP2 ?

    Can someone with the SP2 beta installed try the following and tell us if the formatting bug has been fixed (using the provided Adventure Works DB) with member [Measures].[DP] as [Measures].[Reseller Order Quantity] / 1000000000 select [Measures].[DP] on 0, [Reseller].[Business Type]. members on 1 from [Adventure Works] On SSAS 2005 SP1, I get scientific notation for the 2nd and 3rd rows returned by the query (as in 2.2076 E-05 ) This is a major issue for us as we tend to run SSAS queries from SQL Server using OPENQUERY. For instance, the following query fails because of this bug: select convert ( money , isnull ( substring ( "[Measures].[DP]" , 1 , 50 ), 0 )) from openquery ...Show All

  • SQL Server summing a column, using a pivot table, accounting for NULL

    hello, i'm using sql200 and i am attempting to create a table that has an hourly-incrementing 'Date_Time' column, with a corresponding 'Total' column (which keeps a running total of values off of another table) . The code I am using right now is... declare @date as smalldatetime set @date = dateadd ( yy , - 1 , cast ( convert ( char ( 11 ), current_timestamp , 101 ) + '00:00:00' as smalldatetime )) select dateadd ( hh , i , @date ) as Date_Time , sum (Subtotal ) as Total into #POGtable from Pivot , OrderGroup where i between 0 and 24 and CreationDate between @date and dateadd ( hh , i , @date ) group by i select dateadd ( hh , i , @dat ...Show All

  • Visual Studio Macro: How to test current cursor line

    Can someone please point me in the right direction VS2005: I'm trying to test if the current cursor position is already at the top of the text editor window. eg: if "CurrentCursorPosition.LineNumberInWindow = TOP" -Marc- I need to test if we are at the top line of the editor window - as opposed to the top of the document. Do you know how to test for that ...Show All

  • Windows Forms how to share a folder with read only permission

    Hello I have to share a folder with read only permission while installing an application. Any idea how to do it. I tried write a Installer class and used NET SHARE command. But it is sharing the folder with full permission. Please help Matt ...Show All

  • SQL Server Tranfer SQL server object task

    I need to transfer a database from a sql server 2005 to a sql server 2000. Since I the transfer database task does not support this I am left with the transfer sql server object task. I have to transfer all tables including the PK constraints and the FK constraints. Is there anyway I can force the task to truncate the tables in a specific order instead of in alfabetical order And I have tried to rearange the order by moving the tables around by opening the tablelist vindow, but this does not seem to have any affect. ...Show All

©2008 Software Development Network