Anagoge's Q&A profile
.NET Development An economical way of filling a listbox?
An economical way of filling a listbox I fill an authors listbox using the table adapter. It's one thing with a lookup table with 30 or so rows, but I have hundreds of authors. Above the listbox the user has a choice of adding another author(s). When that form closes the AddAuthors button refills the table adapter. Is there a more economical way of doing this I don't need to move among the authors or delete them. I have ...Show All
SQL Server Help W/Disabling FK Constraints for Batch Operations
HI all, I'm trying to have a SProc that will initialize a database for me. This db is in development (I'm primarily writing SSIS packages, atm), and I constantly need to truncate the tables, then re-add a dummy/unknown row (PK/Identity value = 1). Of course, I need triggers not to fire (got that part working), and FK constraints to be bypassed temporarily -- that's the problem. Here's where I'm at: -------------------------------------- ...Show All
Windows Forms What's up with the stats page?
Not that it's been all that exciting to look at lately, but what happened to the chart on the stats page Well, this is no good, now is it I'll take a look and see what I find out. ...Show All
Smart Device Development Playing system sounds in a PPC
Hi there, I was trying to port my programs from NSBasic to VB.Net, but even when loving to have all the power in my hands and to be able to do things that before needed from external ActiveX controls I’m still fighting with those simple things that get very complicated in VB.Net. I searched up and down in the forums and cannot get a simple way just to play a system sound under certains events in my program. I can understand about more c ...Show All
Smart Device Development How to achieve Delegate.CreateDelegate() in .NET CF
I have asynchronous callback , that I would like to call from a .NET CF application I retreive attribute from a method , and I would like to instanciate a delegate on the method tagged with this attribute in .NET I use Delegate.CreateDelegate() from the MethodInfo and it is OK but in .NET CF the CreateDelegate Doesn't exist How to do this I have allready tested that, but when I try these ...Show All
SQL Server SSIS job cannot find file....
I'm getting an error when running my SSIS package in a SQLAgent job.... Message Executed as user: DOITLHHQSQLT01\SYSTEM. The process could not be created for step 1 of job 0x35D6B42101FB6646B20036599D407110 (reason: The system cannot find the file specified). The step failed. This is the command line executing the SSIS package.... /SQL "\ES Packages\ES DEDUCTIONS" /SERVER DOITLHHQSQLT01 /MAXCONCURRENT " -1 " /CHECKPO ...Show All
Windows Forms Filling Data in DataGrid Row by Row
I want to fill the Datagrid without defining any datasource. I want to check some condition and according to that i want to fill the row. Is there any way to do this Hi, you can add rows: dataGridView1.Columns.Add("car", "Car"); dataGridView1.Columns.Add("color", "color"); and fill them with values: &nb ...Show All
Visual C++ SetDlgItemInt it only show Integer If i want to show float number what should i do ?
i want to SetDlgItemInt by Float Number. but it is not have a function SetDlgItemFloat can some one help me to show Float Value in DialogBox. int a = 0,b = 0; float dx = 0.0; UINT Ai = GetDlgItemInt(IDC_EDIT1,&a,TRUE); UINT Bi = GetDlgItemInt(IDC_EDIT2,&b,TRUE); dx = (Bi-Ai)/100; UINT sum = dx; SetDlgItemInt(IDC_EDIT3,sum,TRUE); 1>d:\work sheet\integrate\integrate\integratedlg.cpp(168) : warning C4244: ...Show All
Visual Basic Why do the ODBC 3.5.1 and MySQL 3.1.8 drivers not work?
Why do the ODBC 3.5.1 and MySQL 3.1.8 drivers not work Michael Seriously I read a few of your post, atfirst I can understand that you are pissed off. But then when I read a couple more, I totally think you should go do something else. I have the same problem with MySQL but I know its a B E T A, and people answering this thread is just like YOU and ME. Its not like every reply is OFFICIAL MICROSOFT SUPPORT. So STFU. Dont act like a kid that ...Show All
Visual Studio How can you provide input to AddProjectDependencyAction without a wizard?
I would like to use the AddProjectDependencyAction but I do not want to gather the project input information from the user through a wizard. I am able to derive the project names as strings in the recipe but the Action wants EnvDTE.Project types as input. I attempted to use the ProjectConverter but have been unsuccessful. Is it possible to convert a string argument into a EnvDTE.Project Argument and then pass that to the AddPro ...Show All
Windows Forms declare datatable, dataset and dataadapter as public or provate?
I saw a sample in which datatable, dataset and dataadapter were declared as public variables. Is it good practice Public or pravate Encapsulation and abstraction are extremely important in OOP design. Good OOP design is a often thought&nb ...Show All
Smart Device Development Connect SQL Server Express from Pocket PC
Hi All, I am new in .net and also in pocket pc. I would like to know how to connect to SQL server using bluetooth if I use the LAN, then may I know how is the connection string and what is the thing I need to imports or declare. Hope can get some idea from all the experts. Thanks. Hi Ilya Ok. I have try to use DataReader.Read() to check but still can't get what I want. This only return true and ...Show All
Visual Basic System.Drawing.Image.FromStream (objMemoryStream).....exception - Invalid parameter used
G'day, I've been working on some code that extracts SQL server Image fields to Byte() arrays then converts them, via this little function, to a System.Drawing.Image. I use a collection of images through out the entire application. Now this has been passing in Nunit tests until the 12th July 2005. Now it fails. Where do I begin to solve a problem like this Public Function ConvertTo( ByVal ImageArray As ...Show All
SQL Server Simple recovery and Full backup
Hi MVPS/MS Experts: Pardon me and my ignorance for asking this question. I just want to understand the backup architecture more clearly. According to BOL (both in SQL 2k and SQL 2k5) in simple recovery mode trasaction log backup is not possible since the log is truncated on checkpoint which is true. Also we know that FULL backup backups both the db and transaction log as well. My question is what happens when a database is in simple recove ...Show All
Smart Device Development Software tools for file transfer between CE device and desktop app?
Does anyone know of software tools that can be integrated into a vb.net 2005 desktop app that allows me to control file transfers to and from my mobile device, running on CE 5.0 There is a product at pda-tec.com that has the right idea; it offers controls that can be integrated into your vb.net program that let you send files to the mobile device, and receive files, and initiate a program on the mobile device, etc. But being a 'set of active x ...Show All
