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

Software Development Network >> Lorry Craig's Q&A profile

Lorry Craig

Member List

Ashok Ojha
McWhirter
Muralee22
bharathi_tunes
Steve98796
IMBack
comspy
Fahad349
Sandyee
Parsnips
Gordopolis
KipK
Arturo Moreno
redviking2006
Ogulcank
Bill Baker
xplosiv_1
Ramanuj
prujohn
fripper
Only Title

Lorry Craig's Q&A profile

  • Visual C++ std::locale loc(""); throws an exception

    I use std::locale variable loc initialized by empty string ( "" ). It should create user default locales. It works fine on most computers with all Windows OS. Unfortunatelly, on one (with Windows XP, I do not know other parameters) it throws an exception in line 345 (VS 2005) if (_Lobj._Getname().compare( " * " ) == 0) _THROW(runtime_error, "bad locale name"); Do somebody know under which conditions could request for "" locale could return locales with " * " name Thanks Hello Re: std::locale loc(""); throws an exception Such questions are outside the scope of this forum - for the scope of the VC General forum ...Show All

  • Visual Studio Express Editions Putting a byte in to a text box

    Hi, Please can someone paste some code for me, I am trying to put a byte in to a text box but have no iead how. I'm pulling my hair out with VB 2005 express and have no idea how to do anything. Thanks Hi, This is my exact code but there is nothing in the textbox when I run the app, I know there is data as in between running the app I run my teminal which is receiving the data ok. Public Class Form1 Dim number As Byte Private Sub upbutton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles upbutton.Click ' Send strings to a serial port. Using com1 As IO.Ports.SerialPort = _ My .Computer.Ports.OpenSerialPort( &quo ...Show All

  • SQL Server Setting a Default Confidentiality message

    Our company requires a "confidentiality message" displayed on all web pages, documents and reports. Is there a way for Reporting Services or IE for that matter to display a default confidentiality message accross all reports rather than editing each individual report Thanks in advance. Yes, this is right but, if you once have the "confidentiality control" placed in the report (like a textbox or something else) it is easy to just open the XML from the webservice, search and replace the message (you don’t even have to go thtough the XMl stuff, just a search and replace, but you have to keep the XML rules) and upload it again to the reporting server. HTH, Jens Suessmeyer. --- http://ww ...Show All

  • Visual Studio Team System Default TFS event subscriptions & certain actions are not updating

    Hi, What are the default event subscriptions that get registered with TFS installation In other words, as soon as I'm done with a fresh install of TFS, what subscriptions should be available in TfsIntegration.dbo.tbl_subscription The reason why I am asking is because when we add a new Area in Team Explorer, it gets recorded in the TFSWarehouse.dbo.Area table, but is not available for selection for work items. Also, adding a new member to a TFS group does not make that person available in the work item dropdowns. We had to make some modifications to the tbl_subscripton table to work around the issue of Active Directory lookup failing for a domain user upon firing an event, so I want to make sure that we have the proper TFS subscrip ...Show All

  • SQL Server Package fails when I schedule it.

    Two scenarios, 1 worked, 1 didn't: First package I execute SQL (select top 10 * from MyTable) in my SQLServer2005 database. I scheduled it and it ran sucessfully. I changed the execute SQL to run against an external Oracle database. (Select * from SomeOracleTable where rownum <= 10). I preview to make sure the query works and it does return a result set. I execute the package in the Visual Studios IDE and it works. I save with encryptAllWithPassword to the SQL server. I go into the scheduler and select the package from SQL Server (as opposed to the file system). I set the step to execute the package off the server. I enter the security key by clicking on the configuration tab. I assume it saves the password to the package. I cl ...Show All

  • SQL Server custom code in report

    hi friends i wrote following custom code in report to hide/unhide a textbox in report Public Function CheckVisibility(ByVal value As String) As Boolean If value.tostring().length > 0 Return False Else Return True End if End Function but i dont see this function when type in "code." in expression box am using VS2005 standard edition, is it a restriction for this version Ian i just tried that but unfortunately did not work i tried =Len(ReportItems!txtsub2name.Value) = 0 and even tried =Len(ReportItems!txtsub2name.Value) > 0 above does not give any error but the control always invisible no matter what! btw the text box " txtsub2name" is detail section and am setting visibility of a textbox w ...Show All

  • Visual Studio ReportViewer Cause error after deploying the webserver

    Dear all, When I deploy my web project into my Web server,everything is work,but except the report does not work properly. The config of my webserver is win2003 with IIS 6.0.And I make use of the report in the local processing mode and set "sessions state mode=InProc","cookieless mode=UseCookie"on the page of the state management in IIS. The error message is showed below Server Error in '/' Application. If you cannot work with it, you can copy your whole project with source code to the webserver.(it means that your source code will be seen by other) It may be work! I hope it can help you...... ...Show All

  • Visual Basic Managing Font Information

    Dealing with the font information for a control seems complicated and perhaps someone can explain a simple method to record font information. Net offers several dialog controls such as fontdialog andcolordialog. In using the fontdialog. My code looks something like this: Dim fd As New FontDialog Dim dr As DialogResult = fd.ShowDialog( Me ) TreeView1.Font = fd.Font Dim StringView as string=fd.Font.tostring The font information captured in the string variable looks like: [Font: Name=Times New Roman,Size=9.75,Units=3,GdCharSet=0,GdVerticalFont=False] I am interested in being able to store in my application font information for a treeview and tabcontrol that I can recall upon application startup. If I store the fon ...Show All

  • SQL Server Database Connection

    Still new here, please be gentle. I created a database inside SQL. I made my tables,etc. When I try to connect to it from VBE I cannot open it! I get an error stating that I cannot connect to it. Am I doing the right thing If I create an SQL db from within VBE, I run into issues. I would rather not install the db's into my project since this will be a shared app. Could some give me a little advice or point me in the right direction, please. Davids Learning IF I HAD ONLY TOOK ABOUT 8 HOURS I COULD HAVE SOLVE MY OWN PROBLEM READ BLOGS MORE Davids Learning ...Show All

  • Visual Studio 2008 (Pre-release) UpdateSourceTrigger property in DataTrigger Binding

    I am having a DataTemplate. In the i have included the DataTrigger. When I update the Privilege property from outside it is not changing the image immediately based on the Privilege value. I have included the source with in this. if any one is having idea please let me know as soon as possible. Thanks & Regards Sundar. < DataTemplate x:Key = " SubTabTemplate " x:Name = " SubTabTemplate " > < StackPanel Orientation = " Horizontal " > < Image Source = " ../Images/SMALLSTOP.gif " Name = " img1 " > </ Image > < TextBlock Text = " {Binding Caption} " /> </ StackPanel > < DataTemplate.Triggers > ...Show All

  • Visual C++ Anyone able to array txt file into cocrrect form?

    i am a newbie on C++,since i have searched so many books and question ppl asked here, but i can't solve this problem yet, i need some help.does anyone able to help me out i want to array the txt name 1.txt and save it in 2.txt with new array form. vocabulary1 other form of vocabulary definition1......................single line definition2.....................single line definition3.....................single line definition#.....................single line </> vocabulary2 form of vocabulary2 ............................and so on, many words continue like that with </>separate from 2 vocabularies the request is array the txt1 into like this: vocabulary1|other form of vocabulary1 def ...Show All

  • Visual Basic How can I change IDE's tooltip language?

    Hello I'm new to Microsoft's Visual Studio line of IDEs, so my question might sound a little bit stupid, but no matter what I've tried, I didn't find a solution for my current problem: Although I'm German and therefore am running the German version of Windows XP Home, I try to install software applications in their original English version whenever this is possible. So I downloaded the English version of VB's "vbsetup.exe" and installed it right away. But even after having verified that the appropriate settings in the "Options" of VB show that the help system is set to English, the tooltips of the "Toolbox" items appear in German! What's even more funny: I've copied all my VB and addons installation files from my home PC onto a CD ...Show All

  • Windows Forms nullable numeric control?

    NumericUpDown does not allow to enter a NULL value. Why not I need a number control which allows NULL vallue. What can I do I don't know if anybody is even reading this thread anymore, but, without even testing this idea, wouldn't this just allow us to null out the reference to our NumericUpDown object, NOT somehow allow the NumericUpDown component to properly handle null values Does anybody have info on how this can be done quickly in a subclass ...Show All

  • Smart Device Development LED control on WM5 SDA

    I saw THIS for LED control. How do i do this => " You must manually turn off the LED after its required, otherwise it will continue to flash after your application has closed." I tried it but my LED still blinks when i use OFF state. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can you edit a Model's vertices at runtime?

    Is it possible to edit the vertices contained in ModelMesh Like could I get the vertices, alter their position and set the data back in the collection I ask this because for the terrain object in my game, I want it to be deformable. I've been playing with the content pipeline and my custom importer / processor / writer writes the height data as a byte array. When the object is read back, an index buffer and vertex buffer are generated in the terrain class. The vertex buffer is specified with ResourceUsage.Dynamic which to my knowledge is the only way to make the buffer read / write enabled. I'm considering altering my custom content pipeline objects to create ModelContent objects instead of my current approach, but I will abandon that id ...Show All

©2008 Software Development Network