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

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

Talyrond

Member List

cpf
Kifaro
SLV
crpietschmann
Cesar Francisco
Anand Raman - MSFT
DeamonX
Andy Ho
Bryce Covert
noiseunion
Idanle
BCNO
ab2304
nil130180
Thaddeus
GoDaddy
Laplap22
SMaia
Butterflyangel02
Tridex
Only Title

Talyrond's Q&A profile

  • Visual Basic How to delete custom class objects? in VB need help

    well i have several class objects with timers after some work i don't need them how can i delete them I know how it's done in C++ but in VB i can't find a way. i can't delete lines of code on program run time. When user takes some actions a few objects are dynamicaly created and after they finishes some tasks they must be released until user wants to repeat the action so is there any way to dynamicaly get rid of them ...Show All

  • Windows Forms Regarding Label control Text property (for "&")

    I have to name a label as "A & B",but it is getting displayed as "A_B", the same is applicable for button also. since for hotKeys we have to specify the letter with"&". right . I would be very thankful, if i got the solution. Thanks in advance RamBabu Hi, as an additional option, you could go with escaping the '&' character by doubling it: Label1.Text = "A && B"; Andrej ...Show All

  • SQL Server Run-Time Error

    Private Sub cmd_DeleteTables_Click() MsgBox "Click yes when prompted to delete records" Dim sqldel As String sqldel = "DELETE tbl_physical_main.*, tbl_physical_main.[Material Number] FROM tbl_physical_main WHERE (((tbl_physical_main.[Material Number]) Is Not Null))" DoCmd.RunSQL sqldel, no sqldel = "DELETE tbl_noDataForTag.* FROM tbl_noDataForTag" DoCmd.RunSQL sqldel, no sqldel = "DELETE tbl_SAPmaterials.* FROM tbl_SAPmaterials" DoCmd.RunSQL sqldel, no MsgBox "All previous inventory data has been deleted and the next inventory load may continue." End Sub -------------------------- Run-Time Error '94' Invalid use of Null Please help me! When you come upon these types of problems, prind out the commands tha ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. ADPCM looping

    From the documentation: Hi ReneC, In more recent DirectX SDKs, the XACT GUI added support for automatically fixing loop points (or in the case of looping entire waves, fixing the length of the full wave) using both padding (for actual alignment) and a fairly sophisticated resampler (to ensure the loop region's overally duration is a multiple of the alignment) that should maintain the coherency of loop regions. Of course, if you're looping a sine wave that's 127 samples and your ADPCM is set to be 128-sample aligned, you likely will hear some pitch shifting - but that's a pretty pathological case. As to programs that support block aligned looping, that's likely a good question to pose to the Game Audio Pro or other industry&n ...Show All

  • Visual Studio 2008 (Pre-release) ComboBox doesn't handle NotifyCollectionChanged, when bound in code to a Collection

    I am switching the ItemsSource binding for a ComboBox on the fly, in code. When I do so, it appears that the ComboBox isn't registered for the NotifyCollectionChanged Event As a result, it does NOT pick up changes to the bound collection. I would expect WPF to wire this up automatically when I set the binding Tried performing the re-binding within Begin/EndInit block, but the results (non-results) are the same. I verified previously that there are no listeners on the NotifyCollectionChangedEventHandler that the source object implements.  Looks like there is some built-in handler code in the  System.Collections.Specialized namespace.  I was looking at Sheva's sample code and notice ...Show All

  • Visual C++ VC++ 2005 Win32 redistributable

    I would like to make a single file, redistributable "Hello World" program. Is there a way of compiling any depenent files/DLLs into the helloWorld.exe program #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { printf("Hello World!!!\n"); return 0; } OR #include "stdafx.h" #include "iostream" using namespace std; int _tmain(int argc, _TCHAR* argv[]) { cout << "Hello Object World!!!\n"; return 0; } *** please test (must run on a computer other than the one used to compile) I am sorry I did not reply sooner. I probably read your reply using the email alert notification and therefore did not realize that &quo ...Show All

  • SQL Server simple text processing e.g. regex search and replace

    I've got an nvarchar(max) column that I need to transform with some simple text processing: insert some markup at the very beginning, and insert some markup just before a particular regular expression is matched (or at the end, if no match is found). Since the SSIS expression language doesn't support anything like this, is a Script Component the only way to go Does Visual Basic .NET provide regular expression matching Thanks! KirkHaselden wrote: See SQLIS.com for an article about using REGEX in a custom component. http://www.sqlis.com/default.aspx 91 That page only mentions validation and doesn't say whether it can be used for substring selection or replacement, which is what I need. ...Show All

  • SQL Server Data driven subscription

    I have create a data driven subscription that should email to to different people. It is sent to one but not the other. if I set up a normal subscription to the email it works. I can not see anywhere in the log the problem. Any Ideas on how to find out what is causing it. Any chance there is another file ReportServerService__12_21_2006_hh_mm_ss.log created later that contains records for 10:45 subscription Or any chance that there is another RS instance sharing same database, and that instance procesed 10:45 subscription Logging is turned OFF by either removing ReportingServicesService.exe.config from Reporting Services\ReportServer\Bin directory or by setting DefaultTraceSwitch value to 0 in this config ...Show All

  • Windows Forms Handling NoNullAllowedException

    Hi, I get the above exception when the user clicks Save, on the code: Try Me .PropertyTableBindingSource.EndEdit() Catch ex As Exception MsgBox(ex.Message) End Try ex.Message displays "Column 'OrgName' does not allow nulls." I want to leave focus on the text box bound to column OrgName. How should I do this Or am I going about this completely the wrong way Thanks, Keith. Hi, I would be happy if I could identify the first field in error, automatically. I'm not using a datagrid view, just textboxes, combo boxes etc in a Windows form. Sorry, I don't understand what you are suggesting. Thanks, Keith. ...Show All

  • Visual C# per page

    I'm working on converting a site to ecommerce at the moment and my question is this: How do I display only a certain number of results per page. ie I only want 16 products per page then I would like to have the ubiqutous "page 1 2 3" - with the other results displaying on pages 2, 3, etc. Any thoughts Please post web design questions at the ASP forums . ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Possible to play mp3/other formats? Also FFT?

    Hello everyone, my first post here. From what I can tell it looks like XNA relies on XACT for audio, which only supports ADPCM at the moment.  A preliminary googling reveals that it's not all that great of a format for music, and wouldn't allow users to load tracks from their own mp3 collections.  Is there something better in the works for the final version of XNA (or is there another way of achieving this functionality)   Also, I was wondering if there is any planned FFT functionality to help with things like synching animations to the music. I ask all this because I'm looking at using alternative, FMOD, which supports a bunch of different formats and features (including FFT), and is compatible with man ...Show All

  • SQL Server SQL Client Redirect - Database Mirroring

    Hi All, My apologies if this question seems abit basic, but I'm a DBA by trade and programming .Net isn't my strong point ;) I've enabled database mirroring on 3 SQL 2005 servers, a principal, a mirror and a witness. Principal - SQL 2005 Enterprise Edition, SP1 Mirror - SQL 2005 Enterprise Edition, SP1 Witness - SQL 2005 Express, SP1 I've written some test code to test the mirroring but as soon as the connection is pulled from the principal, the client re-direct doesn't work and the program bombs. I'd be grateful fi someone could have a look at my code below and tell me if there's any schoolboy errors (NB, the user running the code is a sys admin on all 3 servers) Thanks in advance. Im ...Show All

  • Visual Basic !! HELP !! Extracting frames in a video and comparing them THANKS ALOT!

    Hi, I need help in my project here. my project mate did this in C++, which no one else in the grp knows and so i need some help if anyone knows how to convert it to VB, if possible. The program is supposed to pick up a unattended object (like a bomb) and send an alarm (to like SMS or a PC). so it works like that. (what i understand he said, & seeing the C++ code). capture a background start capturing video average frames (eg. 10), so small movement is not picked up (think so) if pixels are the same for too long ( xx frames) - something isn't moving then send alarm he used C++ and open CV http://www.intel.com/technology/computing/opencv/ , http://www.cs.iit.edu/~agam/cs512/lect-notes/opencv-intro/index.html the things needed are a di ...Show All

  • Visual Basic StringBuilder and indexof

    Forgive me if you've seen this before. I seem to be losing track of postings. Mechanical failure at my end i suppose:-) Why isn't there an indexof method for stringbuilder's I would love to be able to code Dim sb as new stringbuilder sb.append("How Now Brown Cow") dim l as integer = sb.indexof ("ow") if l>-1 then sb.remove(l, 2) ALTERNATIVELY I note in passing that cstr(sb) does not work. Could someone explain precisely what happens when you say sb.tostring I'm assuming that you get the contents of sb stuck in another location in memory. Regards, Al Christoph Who really thinks stringbuilder is great besides this. You should keep in m ...Show All

  • Windows Forms simultaneous events

    Hello. I have a ListView control on my form. Every Item consists of checkbox and string. On double mouse click on any Item two events are happening simultaneously: DoubleClick and ItemCheck   . There are handlers for both of these events in my program. The question is: how to block ItemCheck handler execution on double mouse click, and execute only DoubleClick event handler In other words how to identify in ItemCheck handler if mouse double click event happened ahmedilyas wrote: I usually go against this but you could just unsubscribe from the itemCheck/click event and resubscribe to it after everything has been done instead of having to override the windows messages and check what message has been passed e ...Show All

©2008 Software Development Network