noob_vber's Q&A profile
Visual C# Building shared classes
I would like to build shared non-UI classes for C# applications. For example, in VC++, I could create a library project containing the shared classes. The library is then included in other C++ applications. As such, the applications could reused the classes. How do I create a shared library contains C# classses for C# applications Charles, Create a class library project. This will generate a dll you can later reference in other projects. For instance, create a class library project named "MyLib.Math". By default it will have namespace MyLib.Math (but you can change it at will) and will be compiled to MyLib.Math.dll In you other projects, add a reference to the assembly MyLib.Math.dll ...Show All
.NET Development how to digitally sign a dll file with author information etc?
Hi, I want to sign a dll file and I hope that the signatue can contain information about who signed it, date etc. Is there a way to do it If yes, will the dll still workable on windows or I have to remove the signature before I can call it Many Thanks Jerry http://msdn.microsoft.com/workshop/security/authcode/authenticode_ovw_entry.asp ...Show All
Visual Studio Source control issues when converting 2003 solution to 2005 (ClearCase)
I'm trying to convert a Visual Studio 2003 solution to 2005. The project is a Windows Application and I'm using ClearCase for source control. I made it through the conversion process after getting through a few hickups, but now I'm stuck. VS2005 treats most of the converted projects and the files contained within those projects as though they're not under source control, even though they actually are. Within my solution, there are 12 projects. When viewing the Solution Explorer, only one project and its contents are recognized as being under source control. Check in/out, etc. commands work as expected for these files. For the 11 other projects, the files can be editted without first checking out through VS, but attempts to save fail since ...Show All
Visual Studio Express Editions Installing Visual C# on Vista
Hey For some reason I cant seem to install Visual C# on Vista Ultimate. I've tried running as admin, and in compatibilty mode but still wont work. The error is this. The Windows Installer package: C:\Users\BigBob85\AppData\Local\Temp\SIT35815.tmp\vs_setup.ms_ could not be opened. Choose Retry to try again, Choose Cancel for exit setup. (LOL, it says 'cancel for exit setup', not my bad grammar) I've installed Visual C++ and Visual J# no problems. Any Ideas Hi, It seems that you didnot install .NET Framework properly. Try to clear up it and reinstall. This thread is on the topic: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=520808&SiteID=1 and reference: http://blogs.msdn.com/astebn ...Show All
Windows Forms Visual Styles and Context Menus
There really isn't a menu with Visual Styles. You'll notice that system menus (right click desktop or right click file in Explorer) are flat. Menu text font, colours, and background colour are defined by user preferences; but, neither of the included Themes really changes the way menus look. If you use either Professional or System your menus will get the appropriate colours chosen in the Display Properties control panel. ...Show All
SQL Server Sharepoint SQL Problemas
Hi, I had already setup a SharePoint 2007 Server with a SQL Server 2005 in the same machine. I cloned the full computer and now my SharePoint clone is pointed to use the old SQL Server. How I change my cloned SharePoint to use my cloned SQL Server The old configuration diagram OLD_COMPUTER - SharePont 2007 --> (pointed to) OLD_COMPUTER SQL Server OLD_COMPUTER - SQL Server The actual configuration diagram NEW_COMPUTER - SharePont 2007 --> (now pointed to) OLD_COMPUTER SQL Server NEW_COMPUTER - SQL Server The desired configuration diagram NEW_COMPUTER - SharePont 2007 --> (pointed to) NEW_COMPUTER SQL Server NEW_COMPUTER - SQL Server Ariel, To get the answer quickly on exactly how t ...Show All
Visual C# creating video buffer
Hi.. im developping a client-server application in which i stream video.. i take 5 frames every second and send them to the server like this.. private void timer_snap_Tick(object sender, EventArgs e) { byte[] bpic; MemoryStream ms = new MemoryStream(); pictureBox_snapshot.Image.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg); bpic = ms.ToArray(); if(bpic.Length <5001 && bpic.Length >800) m_VideoSocket.Send(bpic); ms.Close(); ms.Dispose(); } ...Show All
Windows Live Developer Forums adCenter API WSDLs
The following are the Web Services Description Language (WSDL) documents used for the Microsoft adCenter API. Production WSDLs : V5 (released 2/13/2008) https://adcenterapi.microsoft.com/Api/Advertiser/v5/Administration/Administration.asmx wsdl https://adcenterapi.microsoft.com/Api/Advertiser/V5/CampaignManagement/CampaignManagementService.svc wsdl https://adcenterapi.microsoft.com/Api/Advertiser/v5/CustomerManagement/CustomerManagement.asmx wsdl https://adcenterapi.microsoft.com/Api/Advertiser/v5/NotificationManagement/NotificationManagement.asmx wsdl https://adcenterapi.microsoft.com/Api/Advertiser/V5/Reporting/ReportingService.svc wsdl V4 (released 4/28/2007) https://adcenterapi.microsoft.com/v4/Admini ...Show All
Visual C# database authentication
hello,everyone,i have two questions: 1.i have a logon window,has three textboxes,one is username,one is password,and the other is catalog,also i have a table named users in the database(contain all users' account and password),i want to achieve this objective,when user input there iniformation and click the logon button,it will compare the input information with the users table,if it is the same and the main form shows,otherwise give the wrong password inform. 2.and i have a button called reset password,if user input their user name and a password,then click the reset button,so the users table will update its record. how can complete this two fuctions thanks in advance.please give the codes with detail. ...Show All
Windows Forms Open report from a form
I'm working on a windows application in C# (.NET 2.0). I need to open a report whne I click a button on the windows form. How do I do it Hi, Could you please check this link. Hope this helps. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnsql90/html/integratrsapp.asp Thank you, Bhanu. ...Show All
SQL Server drop and re-cerate table
What kind of problems may I see if a process drop and re-create a set of tables every night It depends on your schema and database. You can have foreign keys, indexed views, schema bound objects referencing tables and there are also the soft dependencies (code that accesses the table). It would help if you explain what you are doing or trying to do Why do you have to drop and recreate set of tables every day Are they staging tables ...Show All
SQL Server access tables without schema
Hello in my database I have schema "x". I have user "x" who is database owner, The user has schema "x" as default schema and is owner of this schema. Now there are tables "x.mytable" If I connect to the db as "x" and try select * from mytable I get an error "Invalid object name", I have to write it this way select * from x.mytable Why Thank you Eckard Regarding I have user "x" who is database owner, All users belonging to the database role db_owner will create by default objects in the dbo schema. So if you make a login X as the owner of a database, and then connect as that login to the database ...Show All
SQL Server Need help using GROUP BY clause
I have two tables A. TEST_SUBJECTS_TBL with the following columns . This table contains the subjects in a test 1. TEST_SUBJECT_ID PK 2. SUBJECT_ID FK 3. TEST_ID FK 4. PM // This is the passing marks for the subject B. TEST_MARKS_TBL with the following columns This table stores the marks scored by students for each subject 1. TEST_SUBJECT_ID FK 2. STUDENT_ID FK 3. MARKS_OBTAINED I need a query which gives me the max, min,avg marks obtained in each subject for a test and the total number of students who have passed in the subject The query output should be something like this ___________________________________________________________________ SubjectID MaxMarks MinMarks AvgMarks TotalStudentsPassed _______ ...Show All
Software Development for Windows Vista How to set the include path?
Hi all, I downloaded a sample directshow project. I've downloaded the directshow sdk(directx update) and added the inlude directory in sdk to the project using Tools-->Options-->Projects and Solutions-->VC++ Directories. But when I built the solution, I had the error: fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory How to solve this problem Thank you! ...Show All
Visual Studio Express Editions User Functions in seperate files
How do you get MessageBox support in a user defined function when the Function resides in a seperate .cs file It will only allow it when I make my function either part of a class or form. Thanks well technically it is best practice to call the UI to show the message box giving it the string to show. If you must, makes sure you add the System.Windows.Forms as a reference and then add the namespace (System.Windows.Forms) in your using statement at the top of the file, then you can access the MessageBox function. I would still strongly advise you to call the UI to show the message box, since best practice is that classes generally (in this case especially) should not really need to kn ...Show All
