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

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

AlexReg

Member List

Synced23
Mystagogue
FedorSteeman
teckfreak
Juniorscone
paulballard
Pockey
Peter Bernhardt
B_Lilith
Magoo
Jimmy.Lin
rp666
Philippe Cand
Steven McCarty
Marcel82
Joe Ch
Cyril Stanislaus Xavier
OldSchoolJohn
Maddog C
Matt MacDonald
Only Title

AlexReg's Q&A profile

  • Visual Basic Retrieving the Current Caret Position from a Textbox

    Hi, I'm just wondering if anyone knows how to retrieve the current caret position from a textbox when it has the focus. I've done quite a bit of research into this and can't seem to find anything. Surely this would be a pretty common task to perform on a textbox. I would have thought it would be a simple textbox method such as GetCaretPosition() but I can't find anything other than a method that lets you scroll to the current caret position, however this doesn't tell you what it is. Check out this thread... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=512387&SiteID=1 ...Show All

  • SharePoint Products and Technologies Forms Based Authentication

    I am trying to setup Forms Based Authentication (FBA) for our MOSS 2007 site. Based on the various blog postings/etc. around the web, I have it setup. There is one minor problem I was hoping somebody could help with. We are hoping to disable the "remember me" functionality in the form - we don't want people to accidentally stay logged in to the site. The problem we are having is this - if we don't check "remember me" on the login form, when I try to "Edit in Microsoft Office Word" on a document, it opens up Office (2003) and instead of opening the document, it opens up the login.aspx page as HTML. If I try it with Office 2007, it just doesn't open up the document, and no error is displayed. If I check the &quo ...Show All

  • Visual Studio Express Editions precomiled header directives

    I am using some user defined header files and i have included the header files in the program but when i try to compile it, i get the following error: fatal error C1010: unexpected end of file while looking for precompiled header directive Error executing cl.exe. I went onto project->settings->c++ and changed the option to not use precompiled headers but it did not solve teh problem. I had a similar problem before but changing the project settings solved my problem but thats not the case anymore. Could someone shed some light on this please!! Thanks very much I was under the impression that u need to include the reference to stdafx.h file, if you have the option of using precompiled header ticked b ...Show All

  • Visual Studio 2008 (Pre-release) Where are DataContract and DataMember Attributes defined?

    Hi, could anybody please tell me where are DataContract and DataMember Attributes defined I installed July CTP version (dotnetfx3setup.exe), and can not find DataContractAttribute and DataMemberAttribute defined inside System.ServiceModel.dll. I only find defination for DataContractFormatAttribute using Object viewer inside VS 2005. Thanks, ...Show All

  • SQL Server Allowed Set for All Members

    It looks like NULL is treated the same way as an empty set {} for allowed/denied sets.If I use dynamic security by calling to an SSAS stored procedure but I want to allow the users of an admin role to see all members, what should the stored procedure return It doesn't matter how you set up security - the database administrators (and server administrators too) will always be able to see everything. Security definitions are not even evaluated for them. ...Show All

  • SQL Server I want to create link with 2 servers

    I want to create link with 2 servers is that possible to do that. for example is like this, ---------------------------------------------------------------------------------------------------------------- SELECT Products.ProductID, Products.ProductName, Products.CategoryID, Categories.CategoryName FROM [SERVER1].[Northwind].[dbo].[Products] INNER JOIN [SERVER2].[Northwind].[dbo].[Categories] ON [Products].[CategoryID] = [Categories].[CategoryID] -------------------------------------------------------------------------------------------------------------------------------------------- Products table has SERVER1 and Categories table has SERVER2 O ...Show All

  • Visual Studio Express Editions How to change the user settings without recompiling

    Hi, I have a query. I want to change the user setting string by opening app.config file in a notepad and change the value. However, if I run the complied exe, without opening the project, it does not change. I have to recompile again. How can I do this without recompiling. I don' t want to change the value programatically but manually in the app.config. Any suggestions would be highly appreciated. Regards, Noorul Noorul Ahmed, Based on your app.config file, I suggest you to change the user settings in your program which means that you can make a interface and program to manage the app.config keys. The following link show an article about modifying the configuration settings at run time and hope tha ...Show All

  • Windows Forms MDI windowlist formclosing bug

    Hello, In my application, I have an MDI parent form and several MDI child forms. Wanting to allow the user to click the X on the child window and hide the window rather than close it, I implemented the FormClosing event handler as follows: if (e.Close Reason == CloseReason.UserClosing) { e.Cancel = true; Hide(); } This does hide the child window but when the user opens the window again, the windowlist is never populated again for that window. It is undesirable for my application to make new instances of the child forms each time one is displayed so instantiating a new form instance when I want to show the child form is not the solution. The code in the parent window to display the child windows does this: myForm.MdiParent = this; myForm. ...Show All

  • SQL Server SQL BKP Error 3211

    When trying to generate bkp, recived an error: Executed as User: transportist\administrator. ConnectionRead(wrapperRead). (SQLstate 01000)(message258) general network error. Chek your network documentation. (SQLstate 01000)(error11) 10 percent backed up. (SQLstate 01000)(error3211) the step failed. ...Show All

  • Visual Studio 2008 (Pre-release) Unwanted secure conversation elements in server response

    Hi forum I have created a customBinding binding with a security element with the following settings (both client and serverside): <security messageSecurityVersion="WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11" defaultAlgorithmSuite="Aes256" authenticationMode="MutualCertificate" messageProtectionOrder="SignBeforeEncrypt" includeTimestamp="true" requireDerivedKeys="false" requireSignatureConfirmation="false" securityHeaderLayout="Strict" /> Behaviour (i've removed the serial numbers here): <behavior name="certificateBehaviour" returnUnknownExce ...Show All

  • Visual Studio Visual Studio 2005 VSTemplate file LocationField value isn't working.

    I have a custom template generated from Visual Studio 2005 Pro that will not hide or disable the location field. Anyone know why not vstemplate file: < VSTemplate Version = " 2.0.0 " xmlns = " http://schemas.microsoft.com/developer/vstemplate/2005 " Type = " Item " > < TemplateData > < DefaultName > Project Item.sl </ DefaultName > < Name > Project Item </ Name > < Description > Project Item </ Description > < ProjectType > VisualBasic </ ProjectType > < SortOrder > 10 </ SortOrder > < Icon > __TemplateIcon.ico </ Icon > < LocationField > Hidden </ LocationField > </ TemplateData > < Templat ...Show All

  • SQL Server The parameter is incorrect. (Microsoft OLE DB Provider for Visual FoxPro) after SP1

    Having installed SP1, my SSIS packages using the OLE-DB Provider for Visual Foxpro no longer work. Using the latest version obtained from here: http://www.microsoft.com/downloads/details.aspx FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en When attempting to create one SSIS from scratch, the message thrown is: "The parameter is incorrect. (Microsoft OLE DB Provider for Visual FoxPro)." The radio button option of "Copy data from one or more tables or views" and then selecting the "Next >" throw the error. It has to be the SP1 causing the problem because nothing else changed on the Server and everything was working fine prior to this. Microsoft, any feedback on this ...Show All

  • Visual C# How to pass ref objects to a function

    Hi there I am Hemant Here (Rajeev's Friend) I am using Lead Tools which has this method and expects the reference object. I am calling the method as below. nRet = ImageOptmizer.OptimizeBuffer(OrgData,ref OptData,OptimizeOptions, true); where Orgdata,OptData , OptimizeOption are the objects. Method executes successfully (Returns 0 on success) but Optdata still is empty where it is expected to be filled by the method. How to pass a reference object which supposed to be filled by the method. Thanks in advance. With Regards Hemant BK Hi, There seems not be any problem in above code, Have you checked the method which fills up OptData there might be something wrong like its reassigned with "new" operator or something like t ...Show All

  • Visual Basic label.text question

    I want the user to be able able to click on one of many labels and call the "subA" method and the backcolor changes for just that label. I am just learning to reuse code and thought this might be good practice. This is what I tried but no luck. Thanks for help ------------------------------------------------------------------------------------------- Private Sub LblA_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles LblA.MouseClick Label1.Text = "LblA" Call subA() End Sub Public Sub subA() Dim a As String a = Label1.Text If a .BackColor = Color.Gainsboro Then a .BackColor = Color.PaleGreen Else : a .BackColor = Color.Gainsboro End If End S ...Show All

  • SQL Server TSQL Logic Help

    I have a Rule table that looks like this. Rule_ID (PK) vMin vMax vName I would be recieving the vName as an input. I need to go through the table to make sure that the rules (Min and Max) are not intermingeled. Rules can be within another rule but can not cross. This is Correct Rule 1 vMin = 10, vMax = 20 Rule 2 Correct vMin = 15, vMax = 18 Rule3-Incorrect vMin = 8, vMax = 12 Every time the SP is fired I need to be able to check if this rule is valid or not by comparing it to all the rules in the table. if it is not valid I need to fire an error back. how can we get the logic of this code to work Please help Maybe I wasn't clear in my question. I have this situati ...Show All

©2008 Software Development Network