mmmmBeeeer's Q&A profile
Visual Studio Express Editions VB 2005 - Compositing Operations (C.O.)
Hello Community! I'm quite new in VB (just since November06 ) and I'm looking for a fast way to overlap greyscale bitmaps in VB2005 (i.e. for every pixel R=G=B). I tryed to use the alpha-blending tchnique but it doesn't fit my porpouses (after I perform the C. O. the overlapping region is darkned). I would like the overlapping process to be a lightening process (the resultant color is always at least as light as either of the two costituent colors). In particular overlapping any color with white should produce white. Overlapping any color with black should leave the original color unchanged. I found an interesting program in VB6 that seems to to that http://www.vbaccelerator.com/home/VB/Code/vbMedia/Image_Processing/Compositing/arti ...Show All
Visual Studio 2008 (Pre-release) GUI of DLINQ
When will be the DLINQ integration into VS is available The DLinq Designer is integrated into VS, check out the following link DLinq Designer Walkthrough for VB and C# . ...Show All
Visual C++ Thread programming
Hi, Wolud be grateful if any one could recommend a (few) good links for programming using threads in VC++. I have an SDI based MFC application in VS-2003 dot Net(VC++). I would like to connect to another computer using a separate thread so that the programme does not hang if connection is not possible. Thank you. ANB_149 wrote: Thank you, but what is the advantage of using asynch. sockets over synch. ones For one, you won't have to wait for the operations to complete, and thus letting the rest of the app behave as usual while the socket is connecting or reading data. ...Show All
Visual Studio Express Editions VB6 -> VB 2005 Help
Hi I tried to email my example home but i guess the works fw ate it Anyway i am 'updating' one of our in house app's from VB6 -> Vb 2005 Express it uses an access databases on a remote share i am using DAO to query this database all is well however i cant 'INSERT' anything new into it i can read and update but when i try to insert VB debugs on me my codes is something like rs = DBase.OpenRecordSet ( "INSET INTO Table1 (xxxxxx) VALUE ( xxxxx);") the rest of the code is borrowed from how i read data out so i know thats working it dies on the above line. Does anyone have a example of an insert using DAO i can borrow ive been googling all day at work can no decent results! Cheers Kevin! ...Show All
Visual C# documentation on objects and methods in C#
I need to know what documentation is available (books) on the objects and methods included in C# and .NET. I would like a hardcopy book which describes all of the objects and methods in C#. Thanks Rich perhaps take a look at this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=849534&SiteID=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2D fade transitions
I'm attempting to do a 2d fade in/fade out effect on the screen, but I have no idea how to get that rolling. I've never played with .fx files or anything before. Could someone lend me some ideas Thanks! Jason Thanks for the idea... Would you mind giving a little example code I'm not sure what you mean by 'modulate the alpha'. Er... I mean, I know what alpha is... but I'm not sure what you mean by modulate. ...Show All
Visual Basic Visual Studio Database Project - Generate Create Scripts
I have a Visual Studio 2005 Database Project. I am trying to generate create scripts from existing database tables by right-clicking the Table in Server Explorer. However, there is no shortcut menu for "generate create script to project" as I am expecting. Is there something I have not installed for this to not be available I can't figure out how to generate scripts from the database tables withouth this right-click menu item. I am using Visual Studio 2005 Prefessional. I have Sql Server 2005 Express as well as the full Sql Server 2005 installed. i'm new to using VS2005 and i am using a Professional Edition with SQL Server 2000. I can't seem to make the context menu to generate C ...Show All
Visual Studio Express Editions sending email from C# Program
Can anyone tell me where I am going wrong. I've written the following code to send a simple email, but nothing happens. my smtp server is "mail.bigpond.com" and in my mail account properties the "My Server Requires Authentication" box is unchecked. private void sendButton_Click( object sender, EventArgs e) { MailAddressCollection Recipient = new MailAddressCollection (); Recipient.Add( new MailAddress (toAddressTextBox.Text.ToString())); MailAddressCollection Sender = new MailAddressCollection (); Sender.Add( new MailAddress (fromAddressTextBox.Text.ToString())); SmtpClient theSMTPClient = new SmtpClient ( "mail.bigpond.com" ); MailMessage theMai ...Show All
Visual Basic Question about labeling the controls the same name .....
Hello. I remember in old versions of Visual Studio where if you name more than one controls the same name, VS asks you if you want to index them. Well, I'm using VS2005, and it says "A control with that name is already used" .. It never asks about indexing them. So, in VS2005, how would I go about indexing the all the controls I want the same name to be Hi, I guess you could have an array of a control as in my 1st answer at.>> http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1064740&SiteID=1 however they would all start with the same name and be indexed with an array index eg. myButton(0) myButton(1) and so on. Is this what you are after You might want ...Show All
.NET Development process threading and syncrohnization
Hi folks I am invoking a process via process.startinfo and am redirecting error, stdout and stdin. see the code snippet This is all working fine... this.myProcess = new Process(); this.myProcess.StartInfo.FileName = filename; this.myProcess.StartInfo.Arguments = args; this.myProcess.StartInfo.RedirectStandardInput = true; this.myProcess.StartInfo.RedirectStandardError = true; this.myProcess.StartInfo.UseShellExecute = false; this.myProcess.StartInfo.RedirectStandardOutput = true; this.myProcess.StartInfo.CreateNoWindow = true; this.myProcess.OutputDataReceived += new DataReceivedEventHandler(myProcess_OutputDataReceived); this.myProcess.ErrorDataReceived += new DataReceivedEventHandler(myProcess_ErrorDataReceived); ...Show All
Smart Device Development GPRS Issue with WebService calls
Dear guys ... we have an application running on Windows Mobile 5.0 and .NET Compact Framework 2.0. The application makes some web service calls. The issue we are having is that when a web service call is made, it doesn't detect the GPRS automoatically. What we have to do is go to IE and open some website that enables the GPRS and after that the application starts making web service calls via GPRS automatically. Is there a way to make the web service call detect GPRS automatically. I heard that NETCF does have support for web services and the underlying http object automatically connects/disconnects from gprs networks when it is used. Is it true Regards Nabeel NETCF should establish a connection to ...Show All
Windows Forms Creating”alert” when new file arrives
Hello! I hope this is the proper forum for this. Every day a computer sends out new files to a certain folder in my computer. I am to check these files when they arrive, ASAP. However they come within a one hour window. This means that I have to check my folder every five minutes during the waiting time if I want to be able to check the files as they arrive. Therefore I would like to make some form of “alert” that notifies me when new files arrive in my folder, preferably but necessarily using audio. Is this possible If so how can you do it Any help very much appreciated! Thanks a lot in advance! I know I can minimize the window showing the folder and just have it at the corner of my screen but that is not very convenient as I ...Show All
Visual Basic PrintForm - how to adjust margins?
I use PrintForm component and I want to adjust margins of the print page. I have tried this: Dim margins As New Printing.Margins(100, 100, 100, 100) PrintForm1.PrinterSettings.DefaultPageSettings.Margins = margins PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.ClientAreaOnly) but it does't work. Hi this was extreemly helpful, i was searching for an alternitive to the printform control as my college would not install the powerpack. I wanted to print the part of an invoice form as part of my coursework, this allowed me to print the invoice without getting the print button on the print out. Thank you very much this was extreemly helpful. ...Show All
Visual Studio Team System Microsoft Expression Interactive Designer as a Team Foundation client?
Hello, I have installed the .NET Framework 3.0 June CTP technology stack I have have been playing around with various stuff. I created a XAML (Web Browser Application) project in Visual Studio 2005 and then opened the same project in "Microsoft Expression Interactive Designer". I feel this is a great piece of functionality as designers are potentially no longer "second class team" members and have a toolset that integrates with what the developers are using. However, the thought occurred to me that what happens if your source control is in a Team Project residing on a Team Foundation Server Will Microsoft Expression Interactive Designer be able to connect to Team Projects If not, I feel this defeats the point o ...Show All
SQL Server Non-sync initialization
Dear friends I read about 'NoSync' initialization.I tried out in my system.That time after executing Sp_Scriptpublicationcustomprocs,Stored procedures are propagated to subscriber.Replication was working fine.But afterwards I got some problem.So I reinstall my SQL Server I agin tried 'NoSync' initialization.This time Stored procedure is getting created on Publisher database not in subscriber.Can you tell me what may be the reason I have two other doubts also 1)Sometimes I am getting error in subscriber.'The process couldn't connect to Distributor'.How to configure distributor in this case in configure publishing,distributor wizard I won't able to do anything like that change distributor login or something 2)How to delete Distribu ...Show All
