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

Software Development Network >> Ben Santiago's Q&A profile

Ben Santiago

Member List

mimi_farah
Javahar
Goat Spirit
Info_Peter
Wayne Sepega
bigRazor
Guostong
Raymundo Chapa94595
alfredgoldberg
JGrebe
prk
Bill Reiss
Bhanu Akunuri
Jerry Vonk
stephenjprice
I.Katzav
Wil Burton
Amadrias
kjak
Prashant_Rai
Only Title

Ben Santiago's Q&A profile

  • Visual Basic Alarm Clock

    Am trying to learn VB with 2005 express and am having problem with this. How do you get a time from datetimepicker and compare it with the current time on the machine TimeOfDay is a timespan type which is measured in ticks A tick is equal to 100 nanoseconds...The interval on Timer_Tick is measured in milliseceonds...even if you set your interval property to 1 you would have an extremely difficult task to be able to match the timespan to the millisecond of a user setting Since you don't need that type of precison in an alarm clock I would try and use a Time data type versus a TimeSpan...or If DateTimePicker1 . Value . Hour = Now . Hour AndAlso DateTimePicker1 . Value . Minute = Now . Minu ...Show All

  • Visual FoxPro How to retrieve data in memo field for editing ?

    I found that I could not retrieve the data from vfp system variables. What method should I adopted It was because the application need to use long type message. Your question is not clear. On the one hand you talk of system variables: cGenMenu = _GENMENU _INCLUDE = "C:\COMMON\INCLUDE\MyLibrary.H" You talk about "long messages". What are you referring to If it is long filenames (with embedded spaces), just enclose it in quotes: cFilename = "C:\Program Files\Microsoft Visual FoxPro 9\MyFile.txt" On the other hand, the thread title talks about Memo fields: cMemoContents = AllTrim(MemoVar) Please clarify. ...Show All

  • .NET Development newbie: easy question about JS from .aspx

    Hi everyone, I'm just an ASP.Net newbie. I'd like to know how to call a .JS file from my aspx page. In ancient times I did this in my asp pages: <!-- #include file="./includ.... TIA, Enric.... Do you want just to include the js in your page or actually you want to call a function from this js To include it you have to do this: <script type="text/javascript" src="/JS/MyJs.js" /> To use functions from there you just create another script in where you make a call to any of those functions. Hope it helps Rgds Rodrigo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Emitters and Distance Question

    Hi again everyone! Quick question regarding the implementation of the volume curve in XACT, and regarding emitters. 1) Is it wise to use one emitter and set it based on the current cue and shared by all the soud sources in the game or create an individual emitter for each sound source It seems to work alright with one emitter, a handful of critical sections and the like, but there isn't a lot of documentation in regards to its usage with multiple emitters. Advice willingly accepted on this one. 2) As for distance volume curves, I've played with a couple of things, but none of them seem to have any real effect on the volume based off distance. I started in the XACT Creation Tool, and played with the distance settings, making them smaller an ...Show All

  • SQL Server disable implicit casting

    Is there a way do disable/disallow implicit casting in Sql Server 2000 Say for example: if ' ' = 0 select getdate () This wil print out the current date and time. But ' ' (a string, varchar, whatever) is not the same type as 0 (say, int). Implicit casting is nice, but is there also an off switch Thanks. It's really weird. I would have suspected an feature like 'option strict' like there is in VB (and for a good reason). It's a shame it's not there in T-SQL. ...Show All

  • SQL Server Error: Subreport could not be shown.

    I work for a Microsoft Gold Partner and I am having a problem with subreports in SSRS 2005 SP1. Essentially, I have a report that contains subreports. The main report has a table that passes a parameter to a subreport in each row. The report renders properly when I preview it in Visual Studio, but once deployed to the server it only renders the first subreport for the first row, and every subreport thereafter displays the error, "Error: Subreport could not be shown." I tested each subreport individually on the SSRS sever and each executes and displays fine. I turned on traces in the web.config file and found some additional information: Hi, this is definetely a bug. Please post your information about this at ht ...Show All

  • Smart Device Development Tab order vs 2005 cf 2.0

    I have a form with a panel containing 3 radio boxes, several combo boxes and a text field on the 1st page of a tab control. One of the radio buttons has focus and a tab index of 1 (the other 2 radio buttons have 0 and 2 as their tab index value). The first combo box has a tab index of 3, the next 4 and then a text field has 5. The tab control has 16 as its tab index. When I hit the tab button after the screen is displayed, the focus shifts from the radio button to the tab control. If I hit tab again, it moves to the first combo box and then the tab proceeds in the expected order until the text box, where the tab causes the radio button to gain focus again and the order continues as before where it next goes to the tab control. Anyone ha ...Show All

  • Internet Explorer Development Java script menu not working in IE7

    I am webmaster for this site. http://www.nhchc.org Our left side menu no longer shows submenus on mouseover. It worked fine in earlier IE and still works fine in other browsers. Can someone tell me how I can fix this Thank you, L.Gutherie ...Show All

  • Windows Forms Notifyicon not responding in c# Windows Service

    Hi I have created the Windows service in c#. My windows service is showing the notifyicon in system tray but it is not responding. I have also added the contextmenu. I have created the one form class frmKioskServer to add the notifyicon and contextmenu and i am creating the object of this class from my win. service. Please refere the code below. using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.ServiceProcess; using System.Text; using System.Drawing; using System.Windows.Forms; using System.Windows.Forms.ComponentModel; namespace KPN.KIOSK.Server { public class KioskService : System.S ...Show All

  • Visual Studio Team System Performance counters from a Linux server (web/loadtest)

    Hi, I'm running various load tests, testing web services on windows and linux servers (using axis). Adding performance counters from the windows servers works fine, but how could I collect performance data from the java web services running on Linux It would be great if I could add the Linux counters directly in the load test counter sets. That way it would be added to the Load Test Result Store (DB) directly. Is there support for SNMP How could I solve this in any other way If this is not possible, is there an API to insert "custom" performance data into the load test result store (db) without accessing SQL Server directly That way maybe I can "poll" the performance data from the Linux server some other way... ...Show All

  • Software Development for Windows Vista tracking service is slow

    Hello I am using beta 2.2 of the WF Engine. Using the SQLTracking service to extract parameters from the WF I ancounter the problem, that the data is not yet in the database when I show my WFStatus on my web page. Do I have to flush the result when tracking data How can I do this thanks in advance Josef Hi, Are you using the SQLTracking service in transactional mode When the SqlTracking service is in transactional mode , writes to the database are batched. If you would like to see the events as soon as they happen so that you can see it live say in a web page, try setting the isTransactional property to false. This will make sure that the tracking data is written to the database as soon as they happen. Alternately, if you wo ...Show All

  • Windows Forms Unable to see windows form in designer view

    HI I have a windows application developed in VS2003 , now i need to migrate to VS2005. After successful conversion, My application is running fine as before. But i am unable to open any form in designer view. The error message I am getting is: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Hide at System.Reflection.Module.GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Assembly.GetTypes() at Microsoft.VisualStudio.Shell.Des ...Show All

  • .NET Development binding a dropdownlist

    <% @ Import Namespace = "system.data" %> <% @ Import Namespace = "system.data.oledb" %> < script runat ="server" > Sub button_click( ByVal s As Object , ByVal e As EventArgs) Dim conAccess As OleDbConnection Dim cmdInsert As OleDbCommand Dim cmdSelect As OleDbCommand Dim dtrteam As OleDbDataReader Dim strInsert As String conAccess = New OleDbConnection( "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA Source=C:\Documents and Settings\axb59274\Desktop\PfE New Tables.mdb" ) conAccess.Open() strInsert = "insert into lis_per ([last], [first], [teamid], [email]) values ( , , , )" cmdSe ...Show All

  • SQL Server Pausing Log Shipping Plans

    We are doing an IP Restructuring on our DR site over the weekend due to some business and management requirements.I actually have 2 questions. I have implemented log shipping plans for our databases. Which means I will have to pause (disable) my log shipping plans while this is being done and resume (re-enable) after everything is comlete. Any insights on what else I need to do apart from these My second question is this. I am generating transaction log backups every 15 minutes and is averaging at 350MB (this much data every 15 minutes - not to mention that I've got around 40+ databases, all configured for log shipping just for this instance alone). My alert threshold is 45 minutes. My log shipping plan for one database starts failing pr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. D3DERR_NOTAVAILABLE while build of first example in help how to do

    I used to code in pascal, cobol, assembly, basic, etc, but not C. From: Your First Game: Microsoft XNA Game Studio Express in 2D following along and doing the first build, I get the error above. I did not think I was calling the 3d engine only the 2d. I cannot find any help on the error, where to look, etc, except what is in the error window when you cursor over it. I cannot figure out how to copy the error in that popup window to look at it further. I know some dislike nubies, but please help if you know the answer. Its disheartening to type in only 6 lines of code and not be able to debug it! To say the least. Thanks OH OH OH, I figured out how to copy the error: Error 1 Building content threw InvalidOperationExcept ...Show All

©2008 Software Development Network