Marsha's Q&A profile
SQL Server SQL Server Express is locking the database
I'm running a website on IIS 6.0 w. ASP.Net 2.0 and SQL Server Express 2005 via the native client. The connection string is fairly standard: <add name="SiteSqlServer" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=c:\DotNetNuke\App_Data\ASPNETDB.MDF;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/> I find that after the website has been running for a while I can n ...Show All
Windows Forms Big buttons toolstrip
Hello, I would like big buttons on my toolstrip just like the toolbox in the 1.0 framework. Any sugestions kind regards, Pieter van der Berg ...Show All
SQL Server Secure .NET 1.1 application from users
Hi all. I am developing an distributed VB.NET 1.1 application with a TripleDES capable socket layer for communication with my server app. I need to secure the distributed app from the users within the organization I am developing it for (a franchise). I do not wish to store any encryption keys in the source code as these would be obvious to any seasoned hacker through decompilation of my binaries (even with obfuscation). I have decided ...Show All
Visual Studio Team System Can not make case change for same name
Hi there, Under Classifications in Team Project, when I was trying to create sub node for fearue and Sub feature. There is a bug that if I have already added a node called 'area1', then if I try to change it's name from area1 to Area1, it does not let me saying that the node already exist. Anu ...Show All
SQL Server HELP US MICROSOFT: SYNCH BETWEEN SQL EXPRESS AND SQL MOBILE
Hi Everyone As most of you do, I am eagerly awaiting the ability to synchronize my sql mobile database on the hand held to a local sql express database on my local machine I know users in Microsoft have pointed out to us that we are getting things for free. At the same time, Microsoft is getting our patience for free and at a cost to us developers. Its nearly April and as one article says Microsoft will release a fix for this inadequ ...Show All
Windows Forms i found it. Here it is if anyone wants to know.
I need to return the CD rom drive so I can copy data off of it. i dont want to prompt the user for the drive. How can I do this in .Net Thanks Malcolm Okay it's pushing 6:00 AM here and I can't figure this out. Yes as a matter of fact I'm brand new to Win ...Show All
.NET Development SmtpClient sends mail more than once
I am using the system.net.mail to send email to one or more recipients. Recipients receive the mail twice. I discovered that the only way that the recipient receives only one time the mail is to play with TimeOut property of the SmtpClient Class When setting this poperty to less than 100 ms, the recipient receives the mail only once. This method works fine in a windows form application, but do not provide the same behavior in an aspx we ...Show All
Visual Studio Express Editions Drawing Graphics
I have a question regarding drawing graphics on a form. I have pasted my code below. I thought the code would draw a filled in rectangle somewhere on the form after Button1 is ressed. But nothing shows. Any hints would be greatly appreciated. Private Sub Button1_Click() Dim gr As Graphics gr = Me.CreateGraphics gr.FillRectangle(Brushes.Blue, 500, 500, 500, 500) End Sub You should NEVER use ...Show All
Visual Studio 2008 (Pre-release) BitmapImage.StreamSource best practice?
I want to do this: using (Stream imageStream = webClient.OpenRead(url)) { BitmapImage bitmapImage = new BitmapImage(); bitmapImage.BeginInit(); bitmapImage.StreamSource = imageStream; bitmapImage.EndInit(); this.image.Source = bitmapImage; } but it throws an exception because the image hasn't finished downloading when the stream is closed. So instead I find myself doing this: Stream imageStream = webClient.OpenRead(url); ...Show All
Windows Forms Windows Media Player 9
How do you play mediafiles using the activeX controller And how do you get and set the current position in the videoclip When I make an object AxWMPLib.AxWindowsMediaPlayer axWindowsMediaPlayer1; I thought I could write axWindowsMediaPlayer1.Controls.Play(); but I can' ...Show All
Smart Device Development Suggested method to send binary data via webservice?
Whats the suggested method to send binary data via a webservice Appreciate any feedback/ideas... Thanks! What kind of binary data In general you should be able to use the byte array either as a parameter for a web service method or as a property for a class. -Alex ...Show All
Visual Studio Express Editions "Advanced Compile Options" and Problem with "console"
--> I'm sorry I think I've posted this into the wrong forum before. I was previously working with Visual Studio 2005 beta 2 and since .NET Framework 2.0 I switched to Visual Basic 2005 Express Edition. There is no "Advanced Compile Options" in the "My Project"/Compile tab. Is this normal (I can't set any "optimize" settings) And for some reason the console window doesn't show up when it's called: Sub something Console.Write("something") End S ...Show All
Visual C++ What's wrong here with _wfopen
I have this code line with very strange behaviour: FILE* fp = _wfopen(( const wchar_t *)_T("c:\\Hello.txt"), ( const wchar_t *)_T("r")); Here fp pointer is always equal to null. When I debuged i found that filename was with strange symbols, not normal letters. I'm on Windows XP SP1. Please somebody help me. Any help will be greatly appreciated. Why are using the _T macro If your are using an unicode function version you ...Show All
Visual Studio Problem building Managed C++ project with Msbuild that has multiple assembly references
I have a VS2005 solution that includes a Managed C++ project as well as several C# projects. The C++ project references several of the C# projects. All projects in the solution reference log4net.dll (as an AssemblyReference). My C++ project builds without any warnings using the VS2005 IDE. However, when I build the solution using MSBuild, I get zillions of warning messages such as: log4net.dll : warning C4945: 'LogicalThreadContextProperti ...Show All
Visual Basic Creation of a PDF file.
Hello, I'm building a program, and I need ot convert a lot of word documents to one pdf file. Does anyone know about a class library or a code that can do it Even if the code can only make one word document to a pdf and then merge the PDF files. Thanks, Ofir. You will need the Library that comes with Adobe Acrobat and then proceed to write a program that will merge the selected documents/file ...Show All
