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

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

sysawc

Member List

rwbogosian
Molon Labe
Duzinga
Thomas Pagel
Alex Banks
Stefan Wrobel
luca82
Kevin_B
Benedikt
Al Chu
GreenSleeves
ldev
JohnBurton
ManishSingh
ReyCri
Kumm
ongle
Craig Mackles
Rob Thomson
Bapa
Only Title

sysawc's Q&A profile

  • .NET Development .NET 1.1 Process class - peculiar/problematic behavior

    Hi, I am executing a console application using Process class using .NET 1.1 with SP1.   It has been working fine until we encountered a particular Windows XP SP2 machine - let's call it machine X.   On this machine, the newly spawn process simply returns with return code -1 (i.e., it's an error), and it does not generate any output to standard error or standard output - most likely it couldn't even have gotten started properly. The console application being spawn is a third-party application for which I do not have the source nor extensive documentation so I can't tell what exactly about this machine X that it doesn't like.  Without the source, attaching a debugger and stepping through is not an opt ...Show All

  • Visual C# How to get cube role from Analysis Services

    Dear All, Recently I want to learn How to get cube role from Analysis Services by .NET while I can't find better ways, so would you give me advice,and thank you very much! ...Show All

  • .NET Development request help with DLL on database machine & thin Client application

    Hello, Here is what I'm doing: 1. SQL Server 2005 database is created on machine using Transact-SQL (this includes dropping any previous files). This is created onto the Defaul instance (MSSQLSERVER). 2. a DLL (class library) is made in VB.NET using ADO.NET connection objects. The connection string looks like this: strConnection = "Data Source=.;Initial Catalog=" & dbName & ";Integrated Security=True" where "dbName" is "SQLdatabase1" 3. the Client application adds a Reference to this DLL and will run from the development machine. Here is the problem and the question: When I install the DLL onto the database machine, and I shut off the .MDF database on my developm ...Show All

  • Visual Studio Express Editions Building Threads

    Hi I have an application written in VB.Net that queries a SQL Server database on search queries, but depending on times and network traffic retrieval times can be quite lengthy. Can I build a Thread in .Net where it can execute the search query and I can can continue executing code in my application, alert the user that the application is retrieving the data and show a timer of some sort. Is this possible THank You Also SQL will do asynchronous I/O which is really what you want. http://www.devx.com/dotnet/Article/26747/0/page/1 ...Show All

  • .NET Development Marshalling structures with variable-length inline strings

    Greetings, I'm having trouble solving a pinvoke marshalling challenge in C#. I need to call an unmanaged API function which expects a structure containing a variable length inline string. Here's the unmanaged function prototype (from MSDN): BOOL SetupDiGetDeviceInterfaceDetail ( HDEVINFO DeviceInfoSet, PSP_DEVICE_INTERFACE_DATA DetailInterfaceData, PSP_DEVICE_INTERFACE_DETAIL_DATA DeviceInterfaceDetailData, DWORD DeviceInterfaceDetailDataSize, PDWORD RequiredSize, PSP_DEVINFO_DATA DeviceInfoData); The troublesome guy is the third argument, DeviceInterfaceDetailData . Here's its definition (again from MSDN): typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA { DWORD cbSize; TCHAR DevicePath[ANYSIZE_ARRAY]; } SP_D ...Show All

  • Visual Basic VB2005 Express Setup EXE - Deplyment - Reloaded

    I do have another question. Sorry for being a pest. In VB6, there is a deployment tool that creates a setup.exe program. That utility creates a setup.exe along with a *.cab file. I like to use this system to create a ZIP file so I can distribute my programs from my web site. I cannot seem to locate anything like this in VB2005 Express. I did find something called "Publish To Web", but I use Yahoo! as my web host & VB2005 Express cannot post to there because of something about FrontPage... Any ideas Thanks in advance, -Ron VB express does not have a setup project template. I would use publish my application to a folder on my local hard drive. In the How will my users instal ...Show All

  • Software Development for Windows Vista How to open .net sdk examples with vs 2005.

    Hello, I downloadade .net 3.0 RC1 and the sdk (1.1), when I tried to open a .csproj file it gets me this erros. The project type is not supported by this installation What can I do Hello Keith, Could you point me in the right direction the the VS 2005 Extensions you mentioned there, I'm having the same problem and can't seem to find anything on MSDN about getting them. I'm mostly trying to open WF projects but I'd like to open all the sample project for each of the technologies. I'd appreciate it, thanks Derek ...Show All

  • Windows Forms RadioButtons

    For some reason I can't get my radio button to send an event.. I cant seem to see why. void RadiobuttonS() { apprdo = new RadioButton(); apprdo.Location = new Point( 8, 210 ); apprdo.Size = new Size( 60, 20 ); apprdo.Name = "optionOne"; apprdo.Text = "Space"; apprdo.Checked = true; apprdo.CheckedChanged += new EventHandler( GetSelectedR ); apprdt = new RadioButton(); apprdt.Location = new Point( 70, 210 ); apprdt.Name = "optionTwo"; apprdt.Text = "Cartrige Return"; apprdt.CheckedChanged += new EventHandler( GetSelectedR ); this.Controls.Add( apprdo ); this.Controls.Add( apprdt ); } void GetSelectedR( object obj, EventArgs ea ) { ...Show All

  • .NET Development Problem With File Dates Created During Daylight Savings Time

    I am using VB .NET 2.0 with Visual Studio 2005. I have a VB program which keeps adjusting the file dates when the files are considered to have been created or written during a Day Light Savings period. By this I mean when I read the IsDayLightSavingsTime property of a file date and it returns TRUE. For example, if I read a file that was last modified on 5/6/2006 at 8:00 a.m., my VB program keeps adding one hour to the time so it ends up reading as 5/6/2006 9:00 a.m. How can I stop this I need my file dates to match what is shown in the explorer window when you browse your files. This problem does not happen when the IsDAyLightSavingsTime property reads as FALSE. Below is a snipet of how I am getting the LastWriteTime of the files: ...Show All

  • Visual Studio Express Editions reading file into two dimensional array

    I am having with the code below. I have read the content of a file into two dimensional array evening thing seems to work but I get a when I try to populate the two dimensional array. I get indexoutofRangeExpection.. Pls what am I doing wrong rows(y, i) = temp(0) + temp(i) - the error is at this line Dim rows(,) As String = New String (,) {} Dim temp As String () = New String () {} While iRead.Peek <> -1 strLine = iRead.ReadLine temp = Split(strLine, vbTab) For i = temp.GetLowerBound(0) To temp.GetUpperBound(0) rows(y, i) = temp(0) + temp(i) Console.WriteLine(rows(y, i)) System.Threading.Thread.Sleep(1000) Next y = y + 1 End While Thanks Actually, I am ...Show All

  • SQL Server Specify excel sheet as a configuration property.

    Hi, I'm just starting with SSIS and want to create a reusable package which imports from an excel file which can be specified at runtime. I can expose the filename of the excel file as part of the connectionString property but the sheet is the openrowset property which is a custom property and therefore isn't exposed as part of the external configuration. Does this make sense Is there an easy way to specify the sheet to import at run time Regards, Anthony. Rafael, Thanks for taking the time to answer. I think I'm missing something basic though, as I can't see "SQL Command from Variable" in either my excel source data task or my excel connection manager. Regards, Anthony. ...Show All

  • Visual Basic VB.NET RTC application not seeing messaging events

    I have seen posts regarding this problem but as yet have not seen an answer. No VB.Net answer anyway. I have a VB.NET (VS2005) application which needs to provide both a conference session and an IM session. I have initialised RTC as follows : objClient = New RTCClient objClient.Initialize() Dim myFilter As Integer = RTCEF_CLIENT Or TCEF_SESSION_STATE_CHANGE Or _ RTCEF_MEDIA Or RTCEF_MESSAGING objClient.EventFilter = myFilter objRTCE = objClient objClient.ListenForIncomingSessions = RTC_LISTEN_MODE.RTCLM_BOTH Dim myMedia As Integer = RTCMT_AUDIO_SEND Or RTCMT_VIDEO_SEND Or _ RTCMT_AUDIO_RECEIVE Or RTCMT_VIDEO_RECEIVE objClient.SetPreferredMediaTypes(myMedia, True) ...Show All

  • Visual Basic Countdown timer help

    I am trying to create a countdown time in which a user can enter a time in hours minutes and seconds. The countdown will then begin. I want something like the TV show 24 timer that counts down. Here is the main code I have:  Sub Timer2_Tick(ByVal sender As System.Object, _        ByVal e As System.EventArgs) Handles Timer2.Tick     Dim time As Date     time = lblTimeRemaining.Text      'performs DateAdd function that subtracts 1 second _      'from value of lblTimeRemaining.     lblTimeRemaining.Text = DateAdd(DateInterval.Second, -1, time)     time = lblTimeRemaining.Text 'se ...Show All

  • SQL Server Aggregation functions in Calculated Measures displays wrong values.

    Hi, I think this calculated measure implementation is making me absent minded, so if this seems like a silly question, please ignore my behaviour but do answer to my post :-) I will ask this question with a sample data: consider that the cube consists of School Children's names as the first dimension (school_children) and date(jan, feb....) as the second dimension. the measure (M) is the 'exam scores' of the school children. jan feb mar school_children M M M ----------------------- tony 50 20 40 bony 10 40 40 mony 60 60 70 Now when i add a calculated measure where I want to display the avg marks of each. so in the calculated measures formula I add: Avg([Measures].[M]). (This is ...Show All

  • SQL Server Use NoRows in VB .Net 2005 Console application

    I have a VB .Net console application that invokes a report via a web service call. It then renders the report into Excel and emails it to the appropriate party. I would like to suppress the email event if the dataset is empty. So the question is, can one access the NoRows property or equivalent in this environment I am able to get some information from the following code: rs.ExecutionHeaderValue = execHeader execInfo = rs.LoadReport(reportPath, historyID) result = rs.Render(format, devInfo, extension, _ encoding, mimeType, warnings, streamIDs) execInfo = rs.GetExecutionInfo() The result and execInfo do not seem to deliver back the row count. Is this information available at all If not, I may have to d ...Show All

©2008 Software Development Network