Software Development Network Logo
  • Visual C#
  • Visual FoxPro
  • SQL Server
  • Visual Studio
  • Audio and Video
  • Visual C++
  • Game Technologies
  • SharePoint Products
  • Visual Basic
  • Smart Devicet
  • IE Development
  • Windows Forms
  • Microsoft ISV
  • Windows Vista
  • .NET Development

Software Development Network >> Byenary's Q&A profile

Byenary

Member List

GoDaddy
PramodJ
programmer01
NeederOfVBHelp
spydude777
Boulderdude
Luxsy
Grotius
zoranj
Ananda Ganesh
averge joe
Eladka
Paarul
ernieracer
Kolf
kuntushi
Ton vd Pol
BobH
RayClark096
Nick Winters
Only Title

Byenary's Q&A profile

  • .NET Development Database secure login to program

    Hi, I am creating a VB.Net program and know basic VB programming. The program will at first ask you to login. I want an admin who can change his password and also add users. I am not sure how to do this. I know how to access SQL databases but not how to make the program check the database each time a user inputs a login and them direct him to his account or how he can change his password without being able to access that of others. If anyone could give me a word of advice thats easy to understand I would be very grateful. Well again there are many ways of doing this. you could fill a dataset with the data of the correct user, then check to see if there is a record in the dataset, if there is then we kn ...Show All

  • Visual Studio Express Editions check language

    Hey there!!. is there any way that I can check the languaje in a string.... for example:.. I have this string: "The dog is running on the green grass" and I need to make a function that checks if the string language is english or not.... now my questions is, can I use aome kind of dictionary or i have to use a database for checking ... please help!!. I don't want to write a lot of code... jeje.... an information page could help too, if someone knows!!. thanks for everything!!!.   I'm smiling :) I wanted to give you something to do but with what you have it should be rather easy. Calculate the edit distance for each word in your sentence and take ...Show All

  • Visual C# @ operator, what is its meaning

    Hi! In example, in this code: fs = new FileStream (@sFile, Modo); What's the meaning of '@' I'm looking for, but i don't know what's the name in english of this character (in spanish 'arroba'). Regards. The "@" character has another use that may be more in line with the example in the original post. By prefixing "@" to a keyword, you can use that keyword as an identifier. For example, you can do this: class @ void { ... } This defines a class with the name "void", even though "void" is a keyword. You can then refer to it in the same way: @ void foo = new @ void (); Obviously, this is a rather contrived example and you should avoid wr ...Show All

  • Visual Studio 2008 (Pre-release) Enabling HTTP Compression

    What's the easiest way to get gzip compression for a WCF service using ws or basic Http bindings We're hosting in IIS, so can we just turn on IIS's HTTP compression for .svc files (we already require AspNetCompatabilityMode) I saw the custom encoder example, but that looks like a total pain, relatively speaking. But if it's the only possible way... Thanks, Michael I am not quite sure what a custom encoder is but to add compression to my web services all i did was create a partial class for the autogenerated Service proxy class as shown below: Option Strict Off Option Explicit On Imports System Imports System.ComponentModel Imports System.Data Imports System.Diagnos ...Show All

  • Visual Studio 2008 (Pre-release) Asynchronous LINQ???

    Given WCF's decent support for asynchronous server-side methods (going by the docs), is it likely that LINQ to SQL will support asynchronous query execution in the future Perhaps a BeginToSequence method, eg: IQueryable<Customer> customers = dataContext.Customers.Where (c => c.Name == "Jones"); IAsyncResult result = customers.BeginToSequence (Callback, null); It might be worth including such methods because for the end-programmer to add them could involve re-writing DLINQ. An alternative would be modifying the thread pool so as to be tolerant of blocked threads, thus allowing blocking methods to be used (at least in medium-load application servers) without problems. Obviously the thread count would rise, but this might b ...Show All

  • Visual Studio 2008 (Pre-release) Security Validation with Operation Attributes

    Say I want to place attributes on the interface for a services operation or on the concrete implementation of the services operation. [OperationContract()] [MyAttribute("This is the sample attribute on an operation")] void MyOperation(); Now, during the authorization process, I want to be able to get the attribute off that operation for the current operation. I can't find the OperationDescription nor can I find how to get the type that will be instantiated and the method it would call so I can find the attributes that are applied to that method. Should I be using an IOperationBehavior instead and where should I put the info I'll need to extract so that the ServiceAuthorizationManager can get access to it to do a retrieva ...Show All

  • Visual Studio 2008 (Pre-release) msmqIntegrationBinding error generating proxy using svcutil

    Hi Guy I have problem building the proxy fo msmqIntegrationBinding I have the following classes and interfaces: [ ServiceContract (Namespace = "http://Microsoft.ServiceModel.Samples" )] [ ServiceKnownType ( typeof ( PurchaseOrder ))] public interface IOrderProcessor { [ OperationContract (IsOneWay = true , Action = "*" )] void SubmitPurchaseOrderMessage( MsmqMessage < PurchaseOrder > msg); } public class OrderProcessorService : IOrderProcessor { [ OperationBehavior (TransactionScopeRequired = true , TransactionAutoComplete = true )] public void SubmitPurchaseOrderMessage( MsmqMessage < PurchaseOrder > msg) { PurchaseOrder po = ( ...Show All

  • Visual Studio Team System Listing global groups on TFS

    Hi, Is there any API to list the names of global groups on TFS eg, [SERVER]\Team Foundation Administrators, [SERVER]\Team Foundation Valid Users etc. Manasi ListApplicationGroups gives me all the groups that start with [ProjectName]. eg. [ProjectName]/Project Administrators, [ProjectName]/Contributors etc But I need groups like [SERVER]/Team Foundation administraotrs, [SERVER]/Service Accounts etc. Manasi ...Show All

  • .NET Development network programming

    hello, i would like to thank in advance for loking at my problems, i want to create a website and and windows application to interact with the exsisting software via telnet. sound complicated let me put some more light on it. The end user will send the command through website to a specific port on a computer were my windows application is running aling with the third party software(),i want my wndows application to continously listen to the port and detects thr request from the browser interface(website) and perform the certain action based on the command send from the browser based interface(website)and send the result back to website. I am succesfull in making interaction between 2 windows application one acting as server and ...Show All

  • Visual Studio Conditional Branching of Recipe Actions

    OK guys, This is a bit long but a good use case I think. I'm trying to get control over which recipes get executed based on user input. I would rather not approach the problem by stashing the conditional logic in a custom Action as 1. I have no source for the Actions (using TextTemplateAction here). Containment of this Action from my own is problematic at best (was told I needed to spawn another TemplateHost instance just to pass the Dictionary values to the contained instance. PITA & heavy) 2. Subclassing from TextTemplateAction and throwing the logic in the subclass is a bad approach considering that these Actions are reusable across recipes, some of which may not be configured to work with the same Dictionary values of ...Show All

  • Visual Studio 2008 (Pre-release) GridView -> GridViewColumnHeader

    Hello, I have an instance of a GridView (gv) object and I'm trying to navigate to a GridViewColumnHeader (gvch). I just can't figure out the navigation path. gv.Columns[0].header //returns an object of type string Is there a way I can access gridViewColumnHeader from gridview Thanks Houman The answer is in: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=891539&SiteID=1&mode=1 ...Show All

  • SQL Server Query Analyzer

    I am new to SQL and I need t run a Query on how the company database is performing. I need to determine if any indexes, partitions are needed to help improve performance. I have never done this before. Can someone help me with the proper steps to accomplish this I am using SQL Enterprise 2000 to access the databases. Thanks in advance, Carl Johnman AH, ok this request makes more sense to me. If you are executing a query or a stroed procedure use the Estimated execution plan functionality for investigating any bottlenecks. More on SQL Server performance is available at www.sql-server-performance.com HTH; Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio 2008 (Pre-release) Image Slicing

    Is there any way to use image slicing in WPF I have a PNG image that I want to use a a button background, but I need to slice it to get the scaling correct. I see the WmpBitmapEncoder has the slices properties, but I am not sure how to use it. Thanks, Joe Breaking up the image into 9 pieces, like a tic-tac-toe board. The 4 corners wouldn't be resized. The top and bottom would only be stretched vertically, left and right stretched horizontally, and the center be stretched to fill. Basically, the image would be resized, but keep the origional border size intact. ...Show All

  • Visual Basic help help

    I have a attachment in my microsoft outlook express.I want to extract the attachment to a folder.Is anybody have any suggestion plz reply. VIKI esquire, According to your question, I recommand you to download the Outlook Express ActiveX OCX SDK. Free download from Shareware Connection - Browse all the folders of Outlook Express. Extract attachments from Outlook Express message. Export Outlook Express Message to eml file format. View Message in Outlook Express window. Get number of Attachment of each Outlook Express. Please open the following link adn download the control, then register it in your system Registry: http://www.sharewareconnection.com/outlook-express-activex-ocx-sdk.htm ...Show All

  • Audio and Video Development Problem in Monitor Control API's in Vista

    I have ATI card on my VISTA system, I want to control the monitor parameters using Monitor configuration functions. As a result in my appilcation I have loaded the dll, like LoadLibrary ("dxva2.dll") I also get the proc address of following functions GetNumberOfPhysicalMonitorsFromHMONITOR = (tGetNumberOfPhysicalMonitorsFromHMONITOR) GetProcAddress (hModule, "GetNumberOfPhysicalMonitorsFromHMONITOR"); GetPhysicalMonitorsFromHMONITOR = (tGetPhysicalMonitorsFromHMONITOR) GetProcAddress(hModule, "GetPhysicalMonitorsFromHMONITOR"); GetCapabilitiesStringLength = (tGetCapabilitiesStringLength) GetProcAddress(hModule, "GetCapabilitiesStringLength"); When I try to use these function, follo ...Show All

©2008 Software Development Network