Software Development Network Logo
  • Visual C#
  • Game Technologies
  • Microsoft ISV
  • SQL Server
  • Windows Live
  • Visual Studio
  • .NET Development
  • VS Express Editions
  • Visual Basic
  • Windows Vista
  • Windows Forms
  • Smart Device
  • Architecture
  • Visual J#
  • Visual FoxPro

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

r9Paul

Member List

IbanezRox
Marco Goertz - MSFT
HenriFraz
Jordi73757
cfusion
sub4
RickBo
BobishKindaGuy
Rajesh Prabhu. R
rjhdakota
dotnetdev
rain_flow
Eurolink
Rajeev Gupta
David B.
TimLB
KevlarMpowered
Cody65
ZsoltKiraly
pizzayoyo
Only Title

r9Paul's Q&A profile

  • Visual Studio Tools for Office Error while setting BorderStyle for Style object in Excel using C#

    following code of VB.NET is working fine : Application.ActiveWorkbook.Styles.Add( "MyStyle" ) With Application.ActiveWorkbook.Styles( "MyStyle" ) .IncludeAlignment = True .IncludeFont = True .IncludeAlignment = True .IncludeBorder = True .IncludePatterns = True .IncludeProtection = True End With With Application.ActiveWorkbook.Styles( "MyStyle" ).Borders(Excel.Constants.xlLeft) .LineStyle = Excel.XlLineStyle.xlContinuous .Weight = Excel.XlBorderWeight.xlThick .ColorIndex = Excel.XlColorIndex.xlColorIndexAutomatic End With With Application.Act ...Show All

  • Visual C# Working with images : help needed!

    Hello, guys. Let's say that I load a image in a picture box. What I want, is to slice the image into sqares [eg: 10x10]. After the image has been sliced I want to replace each sqare with another image from the current directory...I hope that you get my idea! Any help would be greatly appreciated! regs: KC mmhh try http://www.c-sharpcorner.com/winforms/ImageViewerST.asp http://www.gamedev.net/community/forums/topic.asp topic_id=385930 ...Show All

  • Smart Device Development .NET Compact Framework 2.0 Guidance and Documentation is Pitiful

    I would like to know if you are finding this to be a problem also see: http://realworldsa.dotnetdevelopersjournal.com/net_compact_framework_20_guidance_and_documentation_is_pitif.htm   Check out this old sample by Ron Hovard on how to use SOAP extention for encrypting messages. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnaspnet/html/asp09272001.asp http://www.gotdotnet.com/team/rhoward/ I've not tried it on CF, but I think it should work. ...Show All

  • Visual Basic Displaying dates between two set dates

    I have a form with two DateTimePicker. the user chooses dates from the two DateTimePicker What i want to do is to show every Friday in between the two dates. Does anyone have any idea on how to do this Thank you! The following should work - it will return an array list of dates between two dates for a given day of week. Function DatesWithDay(ByVal Date1 As Date, ByVal date2 As Date, ByVal dow As DayOfWeek) As ArrayList Dim d = DateDiff(DateInterval.Day, date1, date2) Dim X As New ArrayList For d = 0 To d Dim checkdate As Date = date1.AddDays(d) If checkdate.DayOfWeek = Da ...Show All

  • SQL Server RAISERROR() is invalidated by xp_fileexist function when run through ADO (example included)

    Help!  Does anyone know why (and how to work around) this situation I have a stored procedure in MSSQL 2000 SP3 defined as follows: CREATE PROCEDURE sp_mycheck AS BEGIN declare @ret int EXEC master.dbo.xp_fileexist 'C:\temp\bogus.txt', @ret OUTPUT                                                                   ...Show All

  • .NET Development about "general network error, check your network documentation" error's question

    I hvae use vb.net connect sql server, follow is my connectionstring: "Network Library=DBMSSOCN;Data Source=***.***.***.***,****;Connect Timeout=180;Initial Catalog=warehouse;User ID=sa;Password=******" source code: sqlcon.open dim myadp as new sqlclient.sqldataadapter("select * from table1",sqlcon) myadp.selectcommand.commandtype= text myadp.selectcommand.commandtimeout= 180 dim mytable as datatable myadp.fill(mytable) --error is occur the detail is : 1>after occur this error, have some times(maybe ten minutes) can't connect sql server 2>if the first Fill action's record very much, occur this ...Show All

  • Visual Studio Express Editions Newb Question: Opening Forms inside main form

    I'm completely new to programming, my knowledge only goes as far as html, css and light php so I'm way in over my head. :) I've been through the tutorials but all the teach is how to pop open a form in a new window. I need it to display as though it was seamless. I've created Form1 and I want to use that as the main design of everything. What I need to do is open up all other forms created inside of Form1. For instance, if someone clicks on the button Add New Customer, it opens up ( inside the main window to the right) the New Customer Input box to start them on the process of adding information to the db. If they click "Pay on Account ...Show All

  • Software Development for Windows Vista Events and DataExchangeServices

    I have written an application where workflows are calling external methods using a DataExchangeService. Some of these methods raises questions to the user. I have two questions related to this: How can I make sure the workflow has a waiting handler for the event in the "DataExchangeService" before I invoke the event that contains the answer to the question. I need to do this, because sometimes the question is sent via email or SMS and the application has a timeout period for some of the questions. The user may also have answered the question from another UI connected to the app. At the moment all I can do is to try and handl ...Show All

  • SQL Server Please help !!!

    Hi, i have a problem about t-sql. Table is with data ID Name Part_Count ---------- ----------- --------------------- 1 Bush 3 2 Blair 2 3 Erdogan 2 Result table must be ID NAME PART PART_COUNT --------- ---------- ---------- ----------------------- 1 BUSH 3 1 2 BUSH 3 2 3 BUSH 3 3 4 BLAIR 2 1 5 BLAIR 2 2 6 ERDOGAN 2 1 7 ERDOGAN 2 2 HOW CAN I DO ...Show All

  • Visual Studio Cast error when pass a parameter in localreport and reportviewer

    hello friends, i have a problem with my report when pass a pamameter in vb.net and VS 2005 The code is: Dim objParameter As ReportParameter objParameter = New ReportParameter( "Name" , "test" ) Me .ReportViewer1.LocalReport.SetParameters(objParameter) the error is: System.InvalidCastException was unhandled   Message="Unable to cast object of type 'Microsoft.Reporting.WinForms.ReportParameter' to type 'System.Collections.Generic.IEnumerable`1[Microsoft.Reporting.WinForms.ReportParameter]'."    Please help me Rodrigo SetParameters takes an array of ReportParameter objects, not a sing ...Show All

  • Visual Studio Team System Changing Permissions on New Branches

    Hi, I am working on a project to migrate from a custom version control system to Team System and I am currently investigating auditing possibilities. One preposed method is to have developers branch from the current project baseline, work in the new branch and then have an auditor merge the changes from the new branch to the baseline. The problem with this is that developers do not have checkin privileges on the project's baseline so when the baseline is branched, they cannot checkin code on the new branch. Is there a way to automatically change the privileges on this new branch to allow developers to checkin code Or is there a way to all ...Show All

  • Visual Studio Team System how to clear the cache in a web test?

    hi, all For some reason, I have to clean cache during every time running web test cases, does any one know how to do that please help me . Thanks very much. The cache simulation in a web test is automatic, and is only kept in memory, so you shouldn't need to clean up the cache between web tests. Are you running the web tests in a load test or just running individual web tests What problem or files are you seeing that you need to clean up ...Show All

  • .NET Development System.DirectoryServices.Protocols Question

    I am trying to read data from an LDAP directory (Sun) using the new classes in .Net2. I am able to connect to the directory and list the attributes that a specifc entry contains but cannot figure out how to read the values for a given attribute. I know of the GetValues() function in the DirectoryAttribute class, but do not understand what I should pass in for the TYPE parameter. SearchRequest srchReq = new SearchRequest("", "(objectClass=*)", System.DirectoryServices.Protocols.SearchScope.Base); SearchResponse resp = (SearchResponse) lc.SendRequest(srchReq); SearchResultEntryCollec ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Tutorials

    Does anyone know of any good, simple tutorials for Managed DirectX for a beginner download the latest dx sdk and under {install dir}\Samples\Managed\Direct3D\Tutorials there are 6 solutions to get you started. Creating a device, Loading a Mesh, Lights ...Show All

  • Smart Device Development TableAdapters: what is the opposite function of .insert (or how to delete a Row in a table)?

    I inserted rows into my SQL-DB by using the DataTable.Insert method. Now I tried to get rid of the data and can not find anything like delete or clear or something else. I tried it by using the DataSets: this .myDataSet.Tablename.Rows.RemoveAt(1); // to remove the fist one for example this .myDataSet.Tablename.AcceptChanges(); this .myTableAdapter.Update(myDataSet.Tablename); When I bind a DataViewGrid to the DataSet I can see the changes. But they don't go though to the SQL-Database itself. This confuses me since the Insert method is really inserting rows into my DB - so why does the Remove method react different I also ...Show All

©2008 Software Development Network