StacyJ's Q&A profile
Visual C# Resizing jpg to smaller resolution
I am not sure whether I should be in C# or C++ perhaps somebody could advise I write in Visual Basic & have an app the I want to allow the user to select some jpg files and have them reduced in resolution As Vb does not have this facility, I was hoping I could get somone to point me in the direction a code example I could utilise in net 2005, (don't yet know how) using C which I could then compile. my app would shell the c app at the appropriate time or a compiled exe that does the following read a text file which has detail re resizing size a list of files to resize with destination folder and name the ...Show All
Visual Basic Welcome to the Visual Basic Language forum!
Hi all, and welcome to the new Visual Basic Language forum . I'm Paul Yuknewicz - I'm one of the Program Managers on the Visual Basic product team, and starting today, I'll be moderating these forums. For more info about me, check out my blog . In this forum we will cover questions and discussions regarding the VB language, compiler, VB framework/runtime. This includes things like generics, language keywords, My namespace, etc. My team and I look forward to joining you in discussions about the VB Language. Best, Paul hi, paul, I found the ladybug website for posting wis ...Show All
Windows Forms Can c# perform a CTRL+V
Hi all How can i get my program to perform a CTRL+V. (paste from clipboard) Thanks. Lars Do you want to get what is in the clipboard , if yes, use Clipboard class . ...Show All
SQL Server The database 'x.MDF' cannot be opened because it is version 611. This server supports version 607 and earlier??
Hi, I have tried to attatch a database ,created by SQL server Express within a C# application , in SQL server 2005 Enterprise edition, but the following error message appears: ----------------------------- TITLE: Microsoft SQL Server Management Studio ------------------------------ Attach database failed for Server 'MEDO'. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft SQL Server&ProdVer=9.00.1187.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach database+Server&LinkId=20476 ------------------------------ A ...Show All
SQL Server Trouble getting SQL query to work using LIKE clause with astersik (*) as wildcard in ADO.net
Please help. Has anyone seen a problem querying Excel or Access database when the "LIKE" clause is used with the "*" wildcard The problem I'm seeing is that the query fails to return a dataset whenever "*" wildcard is used. For Example, sQry= "Select * From [EmployeeData$] WHERE Id LIKE 'AAA'" 'query WORKS sQry= "Select * From [EmployeeData$] WHERE Id LIKE 'AAA*'" 'query does NOT WORK Assume that Table name is "EmployeeData", with "ID", "Name" and "Birthdate" as Fields. Data: ID Name Birthdate ...Show All
Visual Studio No 'add new...' on Compartment
Hi, I'm working on a migrated DSL, and I've added an Attribute compartment to one of existing shapes, when this shape is dropped onto the design surface all looks well, but when I right click the Attributes compartment I don't get an 'add new Attribute' option just a copy of the collapse or expand (depending on the compartments current state). Any ideas as to what I may have done wrong thanks Steve HI I`m facing the same problem I`ve two migrated DSL`s with several CompartmentShapes and none of them appear the Add New element. I`m with the V1 version of DSL. I tried to create a DS ...Show All
SQL Server Works fine inside BI Dev. Studio, but fails when scheduling it in SQL server 2005.
Hi! We are currently developing a project in SQLIS using the BI dev. studio. The package executes with no problems in the development environment, but when I try to deploy it and execute it using the SQL Server Agent, the package fails. "Work flow" ----------- 01. Build a package deployment utility (Rebuild all). 02. Runs the deplotment utility. 03. Checks that the latest package has been installed. 04. Creates a new job in SQL Server, using the SQL Server Agent. 05. Adds a new step to the job. 06. Sets that it is a DTS package that should be run ("file-based") 07. Sets the location of the package. 08. Saves the job. 09. Starts t ...Show All
SQL Server Mssearch.exe consuming High CPU over extended time period
Hello, We are running SQL 2000 sp4 with full text search, recently we are getting 100% CPU over extended period of time and the only way to resolve this is by killing the Mssearch.exe process. (we tried to restart the service but it hang) the Microsoft search service is running under local system account. our system topology is active/passive cluster with NAS disks, 4GB RAM and 4 CPU for each server. May be some one can help me The issue happen randomly with no specific job running at that time or any thing, and when it happen the SQL queries are running very very slow. Thank you No solution to your particular problem, except looki ...Show All
Visual C# Any help For Graduating Project .. Need Just The Idea
hello .. I'm senior year at university .. next semester I have to build my project .. unfortunately my supervisor doesn't help me to choose suitalble idea ( in my university .. no one of instructor knows or even cares to know about VS C# !! all they know is poor DBS built on non-microsoft product !!) anyway .. I want my project to be worked under .Net framework ( esp C# or ASP.net with C#) thank for being care hey man .. sorry i didn't mention what i want .. i just want an idea .. something to start from .. anything can help i have only 20 days and my paper shold be presented to deanship to accept it .. ...Show All
Visual Studio 2008 (Pre-release) Error at element 'StaticExtension' in markup file '' : Binary format of the specified custom attribute was invalid..
I'm getting the above error in my WinFX Windows Apps (including XAMLPad when it tries to start - I've never succeeded in opening it, so it can't be badly formed XAML) at line 51: return app.Run(args); in MyApp.g.cs Stack trace is given as follows: " at System.Reflection.CustomAttributeEncodedArgument.ParseAttributeArguments(IntPtr pCa, Int32 cCa, CustomAttributeCtorParameter[]& CustomAttributeCtorParameters, CustomAttributeNamedParameter[]& CustomAttributeTypedArgument, IntPtr assembly)\r\n at System.Reflection.CustomAttributeEncodedArgument.ParseAttributeArguments(ConstArray attributeBlob, CustomAttributeCtor ...Show All
Visual C# disabling TaskMgr.exe & Winkey
How can I disable Task Manager and Win key on keyboard gorance what are you trying to do first you want to hide the statusbar and now i dont want the winkey and task manager t show hmm .. why dont end the explorer process and rename the taskmaner in c:/windows/ to a diffrent name and after you close your app automaticly rename it back and start the exeplorer process ...Show All
Visual C# How to convert Image files to stream...
Hi, How to conver an image files like bmp, jpg, gif, tiff, etc into Stream or MemoryStream. The image may be from local disk or database like Northwind. Cheer. Image image = Image.FromFile( @"c:\image.bmp" ); using (MemoryStream stream = new MemoryStream()) { // Save image to stream. image.Save( stream, ImageFormat.Bmp ); } ...Show All
Visual J# Is there a public J# Roadmap ?
Hi I am looking for the public J# roadmap, does anyone know where I can find it Ohad What exactly you are looking for Could you please let us know why this is required for you Thanks Neela ...Show All
Visual C++ strings allocate in stack or heap?
Hi When we define a string and then get user his/her name , what is happening in memory.I mean: Code: string s; cout << "Enter name"; cin >>s; f allocation always in heap: Here s is a ponter and it is in the stack and points to name data which user enter is in the heap. If allocation in stack: here s's size is unknown so how can it be How can string class allocate memory in stack that unknown size If this is not possible it seems that string data must be allocated always in heap. Are these true I aml ooking for your answers. Thanks The string class object is st ...Show All
Software Development for Windows Vista Execute Activities based on Rules
Let us assume that we have 5 states (S1,S2,S3,S4,S5) in a Statemachine sample. In S1 i am checking whether mandatory data is provided if provided then transist to S3 State else transist to S2 state this is my todays' requirement. I put policy Activity in S1 and checking boolean value and placed SetState Activities in branches of IfActivity. it is working fine. But my tomorrow's requirement is if mandatory data is provided then transists to S4 else S5. is it possible to implement such scenario. Note: we already put SetState Activities in IfBranches and set to S2,S3 respectively. How can we change those SetState Activit ...Show All
