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

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

cedubose

Member List

ramjamman
epicedium
riemerg
MB-86
vampiregod
wdudek
Tommyt755
Enkht
arunr14
Ghoort
vbnet101
Xargo
Sarwanan
Sarosh79
Pramod_SN
Bear23
prk
CruzPedro
Divyajosephjohn
Spider-link
Only Title

cedubose's Q&A profile

  • Smart Device Development Can’t find “sms.dll” file

    Hi, I read in this link “http://support.microsoft.com/kb/555578/en-us” that the .NET Compact Framework brings the followings dll. COREDLL.DLL AYGShell.dll – Pocket PC shell functions CommCtrl.dll – Common control lib WinSock.dll – Windows Sockets Phone.dll – High level phone control SMS.dll – SMS messaging API I’m working on VB 2005 whit .NET Compact Framework v2 trying to develop an application that sends SMS but in all the code examples that I could find they call an dll file named ”sms.dll”: <System.Runtime.InteropServices.DllImport( "sms.dll" )> I been searching in the internet, in all the directories of my computer looking for that file. If some body knows were I can find it please le ...Show All

  • .NET Development XML File Handling Using C#

    hi how can i check whether the XML file is exist or not. in case of existing how can i go to particular Node and Update it. i am finding tons of sample code for reading and writing XML files. but i have to check whether the file exist or not. pls help me out. Thanks and regards ranu. This should do it for you : string path = "Accounts/" + ID + ".xml" ; // Check if the File Exists if ( File .Exists(path)) { // We are good, to proceed XmlDocument xmlDoc = new XmlDocument (); xmlDoc.Load(path); XmlNodeList nList = xmlDoc.SelectNodes( "Accounts/AccountInfo" ); foreach ( XmlNode xNode in nList) { double ...Show All

  • Visual Studio 2008 (Pre-release) [Wish] X(a)ml editor for VS.NET

    I don't know if anyone else share the same mania as me. I wish to read the xml (not only xaml) attributes in a specific order so that I can immediately understand the name, meaning, etc. For example: <Grid Name="MyGrid" Background='Acqua' Margin="0" ... /> <Rectangle Name="MyRect" Fill='' Blue' Left=.. Right=... Margin="0" /> My wish is to have the chance to specify, in a tag-by-tag basis, the ordered list of attribute names. If an attribute is not in the list, it will be appended at the end. ... and please, don't shoot me :-D Raffaele Hi Andrea, I am not trying to read programmatically. I am talking about the vs.net xml editor. When I drop a control with Cider or ...Show All

  • Visual Basic Please Help me

    I want to Continues Ping a Host My system has 2 Network card When i use the If My.Computer.Network.IsAvailable Then if my.computer.network.ping("your.ftp.server") then me.oicstatus.image=pic_yes.image else me.oicstatus.image=pic_no.image end if End If on a timers tick event My Application Hanges up and also it gives the Stats different from Windows Ping Command Please help me If My.Computer.Network.IsAvailable Then This method can be VERY deceptive. Depending on your configuration it can indicate if you have access to the internet. An example would be a modem or a single dsl connection with no other ports or ethernet devices. ...Show All

  • SQL Server Cannot view Default SSRS Report Manager

    I can view reports deployed to my report server at http://ServerName/ReportServer$DatabaseName but cannot view the default Report Manager that comes with SSRS from http://ServerName/Reports$DatabaseName . I get the following error: Server Error in '/Reports$DatabaseName' Application. ...Show All

  • .NET Development DISPLAYING TABLES OF AN ACCESS DATABASE THROUGH C#

    Hi everyone I am trying to display all the tables in a MS access database through a application im developing in c#. However im receiving errors. Here is part of my code. This method executes a SQL query and returns a OdbcDataReader object. private OdbcDataReader GetQueryReader( string query) { OdbcDataReader reader = null ; OdbcCommand command = new OdbcCommand(query, serverConnection); Open(); try { reader = command.ExecuteReader(); } catch (NullReferenceException e) { Utility.CheckTool.ShowMsg("Error in getting the reader, null exception error" ); reader.Close(); } catch (OdbcException e) { Utility.CheckTool.ShowMsg("Error in getting the ...Show All

  • Visual Studio 2008 (Pre-release) names not supported under Resource Dictionary scope

    hi, thanks for the june .net 3.0 ctp, im still on may 06 beta2 and will upgrade asap, im getting the above error, it seems to have poped up from stuff that was working finein this CTP, The only thing that is slightly "not in the SDK" is that i am calling a few master storyboards from a :- < BeginStoryboard Storyboard = " {StaticResource If i remove the last one of these it works without error....! I am on May 06 CTP - here is the exception below, super thanks from the UK, c System.Windows.Markup.XamlParseException was unhandled Message="Error in markup file 'MainWindow.xaml' : Cannot have nested BeginInit calls on the same instance." Source="PresentationFramework" LineNum ...Show All

  • Smart Device Development DateTime Problem

    Iam using a Datetime in my database. I want the data to look like this 2006-10-15 00:00:00.000 But now I get it like this 2015-06-10 21:58:14.000 Iam creating a DateTime with this code: int Year = int.Parse(dateTimePicker.Value.Year.ToString()); int Month = int.Parse(dateTimePicker.Value.Month.ToString()); int Day = int.Parse(dateTimePicker.Value.Day.ToString()); int Hour = int.Parse(dateTimePicker.Value.Hour.ToString()); int Minute = int.Parse(dateTimePicker.Value.Minute.ToString()); int Second = int.Parse(dateTimePicker.Value.Second.ToString()); int MilliSecod = int.Parse(dateTimePicker.Value.Millisecond.ToString()); DateTime SelectedDate = new DateTime(Year, Month, Day, Hour, Minu ...Show All

  • SQL Server Error executing Packaga from job

    Hello, I finally could upload the package, and from the management studio interface I ran the package and it worked perfectly. When I created a job, with one step only to execute that package, the job fails. When I go to history it doesnt give me any details of what failed on the package or in the job Date 24/01/2007 12:30:28 Log Job History (Carga datos ACH) Step ID 1 Server ATLANTE\SQL2005 Job Name Carga datos ACH Step Name Carga de datos de ach Duration 00:00:02 Sql Severity 0 Sql Message ID 0 Operator Emailed Operator Net sent Operator Paged Retries Attempted 0 Message Executed as user: ATLANTE\SYSTEM. The package execution failed. The step failed. Maybe is the user that it tried to execute the package as ...Show All

  • Visual Studio 2008 (Pre-release) Binding name to column header

    I have the fallowing xaml for my column headers: <GridViewColumn x:Uid="IDS_TXT_1" Width="80" DisplayMemberBinding="{Binding Path=Col1}"> <TextBlock x:Name="GridViewColumnH1" TextAlignment="Center"> Secured </TextBlock> </GridViewColumn> <GridViewColumn x:Uid="IDS_TXT_2" Width="80" DisplayMemberBinding="{Binding Path=Col2}"> <TextBlock x:Name="GridViewColumnH2" TextAlignment="Center"> Secured </TextBlock> </GridViewColumn> .... Then I've aplied the fallowing template (taken from this sample: http://www.infusionblogs.com ...Show All

  • Audio and Video Development Additional requirements for a WMP plugin on Vista 64?

    I have a WMP plugin (as a DMO) that works with Media Player 10 and 11 on Windows XP and Vista (32-bit). That same DMO does not work on Vista 64-bit. My DMO registers with IWMPMediaPluginRegistrar::WMPRegisterPlayerPlugin() and ThreadingModel = 'Both'. () My plugin will support IEEE_FLOAT as well as PCM audio, but it does not appear to get the chance. I usually see my DMO loaded into multiple processes on Vista 32, and the rendering always occurs in an MFPMP.exe process. I do not ever see my DMO getting loaded into the MFPMP.exe process on Vista 64, and I suspect that is where the audio rendering is occurring since I do see an MFPMP.exe process starting when audio playback starts. What more do I need to do to get my DMO picked-u ...Show All

  • Windows Forms How to make certain variables global to all forms? (C#)

    I have this problem.. my main form class (MainForm) declares some variables that should be global, in a sense. Let's say my app, at startup, loads a bunch of user data.. into a list (List<UserInfo>). I want that list available application-wide. So if a preferences dialog opens up, and it needs to populate a ListView with that List<UserInfo>, it can. What is the best way to achieve this, in C# Rabbi Joseph Gordon wrote: Create an interface and implement it in all forms that need to communicate with each other. This is a more elegant and less hazardous way to pass data between forms that something so unrestrictedly global. I would recommend however that you don't pass data between forms bu ...Show All

  • SQL Server Using Stored Procedures with Report Builder

    New to the forum here. I'm having a trouble. My company is contemplating using Report Builder as an end user tool as opposed to giving everyone a copy of Visual Studio. I'm studying the feasability on this. A problem I'm running into, is that it doesn't seem possible to use a stored procedure as a data source. All of our standard reports are based off of stored procedures. Now granted, I'm talking about just Report Builder. I know how to base a report off of a SP using reporting services in VS. So, my question is, can you create a report off of a SP using only Report Builder, and if so, the steps Thanks guys! Stored procedures are not supported by Report Builder in this release. However, Chris Hays of sleazy hack fame has rep ...Show All

  • SQL Server cannot access database properties

    Hello, The code: Database db = new Database(localServer, database); SqlPropertyCollection collection = db.Properties; foreach (Property property in collection) { //DoStuff } The error: Microsoft.SqlServer.Management.Smo.PropertyNotSetException: Set property ActiveConnections to accomplish this action. at Microsoft.SqlServer.Management.Smo.SqlSmoObject.OnPropertyMissing(String propname) at Microsoft.SqlServer.Management.Smo.PropertyCollection.PropertyEnumerator.get_Current() The error takes place at the first property. Debugging this, I noticed a lot of the properties throw this exception. Why is that The user that I use dbowner on the database and sysadmin on the whole server. Thanks Hi, just found it, the constructor ...Show All

  • Windows Forms How to handle errors?

    Hello, If some programming state is not okay (like finding that a SerialPort is not open prior to sending data) I would like to show some error message. I would like to handle all error messages-displaying in a central place by a single function. How do I achieve this (As a newby in C#, in Borland C++ I was used to use a global string for storing the error messgae which is displayed when all nested functions return false). But C# does not allow a global string( ), or what other mechanism is usually applied for this purpose All tips and hints are welcome. regards, Henk Okay thanks, but what should I use if a user-handling-error has occurred that is detec ...Show All

©2008 Software Development Network