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

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

geliser131

Member List

Badri Narayanan
Jellyhead365
rsat
Joe Morel - MSFT
pwinant
MyBoysCanSwim
GS80
AlexBB
Anil1
Ofer Gal
Israel Brewster
OmidQRose
RCamille
DusanMihajlovic
Senthil.P
Tom Frey
jss3426
mattii
Ehmer
Cridal
Only Title

geliser131's Q&A profile

  • Visual C++ CRichEditCtrl Problem

    Hi, This is done in VC++ MFC I have created a vector vector<CRichEditCtrl*>RichEditBox; CRichEditCtrl *r1 = new CRichEditCtrl; r1->Create(WS_CHILD|WS_VISIBLE|ES_AUTOVSCROLL, CRect(x1,y1,x2,y2), p, 1); r1->SetEventMask(ENM_CHANGE | ENM_SELCHANGE ); RichEditBox.push_back(r1); With the above code I get n cricheditboxes on a window . How do I navigate within these boxes using Up Down Arrow Keys Pritha Hi, I think you can use "TabOrder" property of these controls, so you can navigate them by "Tab" key. If you want to use up and down arrow you must receive a "KeyPress" message and then set focus on CRichEditBox control. Regards. ...Show All

  • Visual Studio 2008 (Pre-release) Pack Uri throws exception

    Hello, I am trying to create a Uri instance using the pack scheme and am receiving an exception in return. Is this the correct format new Uri ( "pack://application:,,,/Library;component/Resources/Test.ico" ); System.UriFormatException: Invalid URI: A port was expected because of there is a colon (':') present but the port could not be parsed. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Uri..ctor(String uriString, UriKind uriKind) I'd also like to point out for posterity's sake that the exception should read "because there is a colon", not "because of there is a colon". The Pack scheme isn't registered and so things lik ...Show All

  • Windows Forms Get Controls collection and list it on xml or text file

    Hi We are using Idesginer for creating user driven form designer, does any one worked on saving the controls list /control collection and their properties on to a test file or xml file and retrive them back on the desginer form. Any help in this regard will be great. I guess I don't quite understand your problem then... Maybe our definitions of "serialization" differ. From MSDN, "Serialization can be defined as the process of storing the state of an object to a storage medium." That sounds exactly like what you need to do. As far as custom XML, the XML written to disk can be whatever you want it to be after you modify the code that produces the output. Could you maybe elaborate a bit more on what you need so ...Show All

  • Internet Explorer Development IE7 RC1 Installation error

    Hello, I had previously installed IE7 to try (I think it was Beta 1, but am not sure). I recently tried IE7 RC1, but something was freezing my computer. I unistalled it, properly, I think, everything has been working fine. I wanted to reinstall to try it for longer than an hour. Upon attempting to reinstall I get an error message where the whole screen changes to a DOS appearance but gigger an with a blue shade to it rather than black. The message say something like: If this is the first time you have seen this message, reboot and try again. If not, there may be a driver error, if there is a driver listed in the stop message, disable it the try to install, or update the driver and try again. It also talks of rebooting in safe mode ...Show All

  • Visual Studio Team System Database Pro requires local SQL 2005 instance???

    Some of the guys on our team are currently using VSTS for DB Pros.(version 2.0.50727.145) It was installed on a machine where there's a local instance of full SQL 2005. (It installed SQL Express too. We successfully can point it at the full version of SQL) We are going to remove SQLExpress and we don't want people creating DEV db's on this box. Is there a way we can point to another SQL instance on a different machine I think the answer to this question is no, atleast in the most current release. Any idea if this will change in a future release Thanks, Ron I understand there will be latency issues when validating against a remote server, but I would still prefer this option anyways. Ma ...Show All

  • Visual Studio Express Editions URL?

    I have been asking about this a few times and gotten no answer to my question. I have a tabbed browser with no url textbox(for input). I want to however display the url of the current tab in a textbox or a label. So I can use for instince. If URL = "http://" then Webbrowser1.navigate("http://") EndIf sorry, I still don't follow. where are these URL's coming from, if the user is not inputting them when do you want to navigate to which websites/pages Are these your own pages it could be done but I still do not follow im afraid. ...Show All

  • Internet Explorer Development Javascript focus() doesn't function well in IE7 with Tab feature using

    My problem is that: I can't use focus() to focus the tabs I have opened Example: On Opener Window, var tab = window.open(" www.microsoft.com ", "Child_Tab", "<LIST_OF_FEATURES>"); then call tab.focus() can't focus the opend tab "Child_Tab" Guessed Reason: May be IE 7 assume that all tabs in the same browser is in the same window. Although the tab is not focused, IE 7 think that its window is focused. (Since other tab in the same window has been already focused) Question: Are there any answers to let me focus the tab as I want I'm having issues with the focus() method as well but in a slightly different scenario. ...Show All

  • .NET Development avoiding timeout exception for methods that take a TimeSpan

    I am a newbie to both .NET and MSMQ and I simply can't understand why anyone would design an API where the common case is to throw an exception! For example: MessageQueue queue = new MessageQueue(...); try { Message msg = queue.Receive(new TimeSpan(0, 0, 1)); ... } catch (MessageQueueException mqe) { ... } throws an exception after one second if there is no message on the queue. Why not just return null The return type is a Message, you should be able to figure out if the Message is null that you had a timeout... It seems pretty wasteful to throw an Exception. Moving on, what would be the result of this code : private static Message receiveMessage(MessageQueue mq) { IAsyncResult asynchResult = mq.BeginReceive(new TimeS ...Show All

  • Visual Studio 2008 (Pre-release) Joined Table Inheritance

    Dlinq is great. But... I'd love to see support for inherited classes based on joined tables. my schema uses a table for the base data and a base class with a discriminator field and a joined table to provide the columns of the derived class which provide a single object with properties derived from both the base table and the joined table. This is always a one to one join. I gather this cannot be accomplished by just decorating the derived class with it’s own Table attribute and some sort of ID field for the join Or am I mistaken Second, I'm not thrilled with the inheritance attributes all being on the base class as this breaks the concept of modularity and independent compilation. 3 rd parties will not be able to extend the c ...Show All

  • Visual Studio 2008 (Pre-release) WPF Controls Help...

    Hello, I have a Window, which contains a stackpanel. I've added two WPF UserControls, each of which contains a Canvas and some elements within the canvases. The problem I have the two User Controls stacked, however, it appears the second Canvas's elements are drawing from the top of the Window, not the second canvas. I can place a TextBlock in the Canvas and set Canvas.Top="1", however, the "1" is set from the Window, not the Canvas in which it is contained. Maybe it's taking a cue from the first Canvas. Anyone know how to address this issue Or what I'm doing wrong I'd rather not compensate for this in the User Control, as I want them to be separate, and not know what the other is doing. ...Show All

  • SQL Server Assigning a lower priority to some users in SQL Server.

    I have a production database used by a web site, and at the same time a group of read-only users who can query the database directly “without the web site” When one of the users runs a complex query, it slows down the server, and affects the web site. Is it possible to change the SQL User account or SQL User Group’s priority to low You know, the same like in the Task Manager and Windows, I can change a process to low, so it will not affect the important processes, can I do this in SQL Server, and is there any workaround. in my humble opinion its the query that needs to be changed or if your using 2005 you can implement HA feature such as database snapshot, mirroring etc. ...Show All

  • Windows Forms vb 2005 and sql server datetime field

    hi im trying to display the documents which are going to expire within 7 days. i have a document table and expirydate field (in smalldatetime in sql server. i wrote the following code at form load event. is there any better way to do it Dim t As String t = " 10:28:00" TextBox1.Text = Format( My .Computer.Clock.LocalTime.Date, "yyyy-MM-dd" ) Dim x As String x = TextBox1.Text & t MsgBox(x) str1 = "select * from company where compregexpdate =" & "'" & x & "'" '& " '" & 2006-11-16 10:28:00 & "'" con.ConnectionString = "dsn=alphasql" con.Open() da.SelectCommand = New ...Show All

  • Visual Studio Express Editions How to count the number of CheckBoxes Checked

    Is there a way to count the number checkboxes that have been checked on a form and when a certain number as been reached disable any remaining checkboxes Regards LVB if u don't add checkbox at run time dim i as interger if checkbox1.check=true then i+=1 end if if checkbox2.check=true then i+=` end if likewise ...Show All

  • SQL Server Another Major Flaw with Reporting Services!

    Where is the text (.txt) export functionality I don't see any ascii text export mechanism without the .csv extension. Where is actual .TXT file of the reports. How do I get a .txt conversion out of the reports without messing with the .csv files. I would've wanted direct .txt export from the generation mechanism. This seems extremely basic form of reporting generation. I can't believe you can't get txt report out of reporting services. Enkh. I definitely agree with ENKHT. I have the same issue. One of our external partners expect a txt file with specfic columns and associated data. In other words, they read each line and know exactly where the start and end point of each column. And ha ...Show All

  • Visual Basic Generating text around an arc in an image file

    I am new to this, so please, if I am in the wrong place, tell me the proper place for this question. I am trying to generate a graphic programmatically with dynamic text. The graphic should display text written around a circle, as if on an arc, and the text itself should be angled so that if you underlined each letter, the underline is perpendicular to the center of the circle. I had code that did this in VB6, using a LOGFONT and it works really well. However, the VB6 code printed directly to a printer. I am upgrading the code to VB.NET 2005, and because of outside constraints, I need to output directly to an image file which will be printed later. I had problems using LOGFONT, namely that it did not "tilt" any of the ch ...Show All

©2008 Software Development Network